ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [08/24] incubator-ignite git commit: ignite-757 - removed CacheObject.hasValueBytes
Date Wed, 29 Apr 2015 13:35:12 GMT
ignite-757 - removed CacheObject.hasValueBytes


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/aefb0655
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/aefb0655
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/aefb0655

Branch: refs/heads/ignite-sprint-4
Commit: aefb065588161d2ad74aa74180ee58b81b4b1166
Parents: 88655ed
Author: S.Vladykin <svladykin@gridgain.com>
Authored: Fri Apr 24 09:41:12 2015 +0300
Committer: S.Vladykin <svladykin@gridgain.com>
Committed: Fri Apr 24 09:41:12 2015 +0300

----------------------------------------------------------------------
 .../apache/ignite/internal/processors/cache/CacheObject.java    | 5 -----
 .../ignite/internal/processors/cache/CacheObjectAdapter.java    | 5 -----
 .../internal/processors/cache/CacheObjectByteArrayImpl.java     | 5 -----
 .../processors/query/h2/GridIndexingSpiAbstractSelfTest.java    | 5 -----
 4 files changed, 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/aefb0655/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheObject.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheObject.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheObject.java
index 726466f..2f77e86 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheObject.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheObject.java
@@ -46,11 +46,6 @@ public interface CacheObject extends Message {
     public byte[] valueBytes(CacheObjectContext ctx) throws IgniteCheckedException;
 
     /**
-     * @return {@code true} If this cache object contains serialized value representation.
-     */
-    public boolean hasValueBytes();
-
-    /**
      * @return Object type.
      */
     public byte type();

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/aefb0655/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheObjectAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheObjectAdapter.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheObjectAdapter.java
index 75cf87e..173483d 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheObjectAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheObjectAdapter.java
@@ -37,11 +37,6 @@ public abstract class CacheObjectAdapter implements CacheObject, Externalizable
     /** */
     protected byte[] valBytes;
 
-    /** {@inheritDoc} */
-    @Override public boolean hasValueBytes() {
-        return valBytes != null;
-    }
-
     /**
      * @param ctx Context.
      * @return {@code True} need to copy value returned to user.

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/aefb0655/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheObjectByteArrayImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheObjectByteArrayImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheObjectByteArrayImpl.java
index d920bd0..96b838c 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheObjectByteArrayImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheObjectByteArrayImpl.java
@@ -53,11 +53,6 @@ public class CacheObjectByteArrayImpl implements CacheObject, Externalizable
{
     }
 
     /** {@inheritDoc} */
-    @Override public boolean hasValueBytes() {
-        return true;
-    }
-
-    /** {@inheritDoc} */
     @Override public void finishUnmarshal(CacheObjectContext ctx, ClassLoader ldr) throws
IgniteCheckedException {
         // No-op.
     }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/aefb0655/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/GridIndexingSpiAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/GridIndexingSpiAbstractSelfTest.java
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/GridIndexingSpiAbstractSelfTest.java
index 0ec3641..3ec67b2 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/GridIndexingSpiAbstractSelfTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/GridIndexingSpiAbstractSelfTest.java
@@ -565,11 +565,6 @@ public abstract class GridIndexingSpiAbstractSelfTest extends GridCommonAbstract
         }
 
         /** {@inheritDoc} */
-        @Override public boolean hasValueBytes() {
-            return false;
-        }
-
-        /** {@inheritDoc} */
         @Override public byte type() {
             throw new UnsupportedOperationException();
         }


Mime
View raw message