[IGNITE-171]: small correction by review results.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/36e9236c Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/36e9236c Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/36e9236c Branch: refs/heads/ignite-sql-tests Commit: 36e9236c97ec0b8d98b929ff965405f688d5c24f Parents: 89b610c Author: iveselovskiy <iveselovs...@gridgain.com> Authored: Fri Feb 20 14:05:09 2015 +0300 Committer: iveselovskiy <iveselovs...@gridgain.com> Committed: Fri Feb 20 14:05:09 2015 +0300 ---------------------------------------------------------------------- .../apache/ignite/internal/processors/cache/GridCacheUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/36e9236c/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java index 4dddb59..7cd13df 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java @@ -1780,9 +1780,9 @@ public class GridCacheUtils { /** * @param e Ignite checked exception. - * @return Ignite runtime exception. + * @return CacheException runtime exception, never null. */ - @Nullable public static CacheException convertToCacheException(IgniteCheckedException e) { + @NotNull public static CacheException convertToCacheException(IgniteCheckedException e) { if (e instanceof CachePartialUpdateCheckedException) return new CachePartialUpdateException((CachePartialUpdateCheckedException)e); else if (e instanceof CacheAtomicUpdateTimeoutCheckedException)