ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [39/45] incubator-ignite git commit: ignite-1258: removed deprecated API
Date Fri, 21 Aug 2015 06:48:57 GMT
ignite-1258: removed deprecated API


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

Branch: refs/heads/ignite-1258
Commit: ce45ca3b9478bacf05f6c79cc703c17a9733c636
Parents: e751a8f
Author: Denis Magda <dmagda@gridgain.com>
Authored: Thu Aug 20 13:54:05 2015 +0300
Committer: Denis Magda <dmagda@gridgain.com>
Committed: Thu Aug 20 13:54:05 2015 +0300

----------------------------------------------------------------------
 .../internal/portable/PortableReaderExImpl.java | 22 --------------------
 .../ignite/portable/PortableRawReader.java      | 16 --------------
 .../apache/ignite/portable/PortableReader.java  | 19 -----------------
 3 files changed, 57 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ce45ca3b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableReaderExImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableReaderExImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableReaderExImpl.java
index 6ae4ae3..2a6c2e3 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableReaderExImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableReaderExImpl.java
@@ -981,28 +981,6 @@ public class PortableReaderExImpl implements PortableReader, PortableRawReaderEx
         return null;
     }
 
-    /** {@inheritDoc} */
-    @Nullable @Override public <T extends Enum<?>> T readEnum(Class<T>
enumCls) throws PortableException {
-        return readEnum();
-    }
-
-    /** {@inheritDoc} */
-    @Nullable @Override public <T extends Enum<?>> T[] readEnumArray(Class<T>
enumCls) throws PortableException {
-        return readEnumArray();
-    }
-
-    /** {@inheritDoc} */
-    @Nullable @Override public <T extends Enum<?>> T readEnum(String fieldName,
Class<T> enumCls)
-        throws PortableException {
-        return readEnum(fieldName);
-    }
-
-    /** {@inheritDoc} */
-    @Nullable @Override public <T extends Enum<?>> T[] readEnumArray(String fieldName,
Class<T> enumCls)
-        throws PortableException {
-        return readEnumArray(fieldName);
-    }
-
     /**
      * @param obj Object.
      */

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ce45ca3b/modules/core/src/main/java/org/apache/ignite/portable/PortableRawReader.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/portable/PortableRawReader.java
b/modules/core/src/main/java/org/apache/ignite/portable/PortableRawReader.java
index 93e2356..a704570 100644
--- a/modules/core/src/main/java/org/apache/ignite/portable/PortableRawReader.java
+++ b/modules/core/src/main/java/org/apache/ignite/portable/PortableRawReader.java
@@ -230,20 +230,4 @@ public interface PortableRawReader {
      * @throws PortableException In case of error.
      */
     @Nullable public <T extends Enum<?>> T[] readEnumArray() throws PortableException;
-
-    /**
-     * @param enumCls Enum class.
-     * @return Value.
-     * @throws PortableException In case of error.
-     */
-    @Deprecated
-    @Nullable public <T extends Enum<?>> T readEnum(Class<T> enumCls) throws
PortableException;
-
-    /**
-     * @param enumCls Enum class.
-     * @return Value.
-     * @throws PortableException In case of error.
-     */
-    @Deprecated
-    @Nullable public <T extends Enum<?>> T[] readEnumArray(Class<T> enumCls)
throws PortableException;
 }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ce45ca3b/modules/core/src/main/java/org/apache/ignite/portable/PortableReader.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/portable/PortableReader.java b/modules/core/src/main/java/org/apache/ignite/portable/PortableReader.java
index 25c2f6b..82dca0c 100644
--- a/modules/core/src/main/java/org/apache/ignite/portable/PortableReader.java
+++ b/modules/core/src/main/java/org/apache/ignite/portable/PortableReader.java
@@ -273,25 +273,6 @@ public interface PortableReader {
     @Nullable public <T extends Enum<?>> T[] readEnumArray(String fieldName)
throws PortableException;
 
     /**
-     * @param fieldName Field name.
-     * @param enumCls Enum class.
-     * @return Value.
-     * @throws PortableException In case of error.
-     */
-    @Deprecated
-    @Nullable public <T extends Enum<?>> T readEnum(String fieldName, Class<T>
enumCls) throws PortableException;
-
-    /**
-     * @param fieldName Field name.
-     * @param enumCls Enum class.
-     * @return Value.
-     * @throws PortableException In case of error.
-     */
-    @Deprecated
-    @Nullable public <T extends Enum<?>> T[] readEnumArray(String fieldName,
Class<T> enumCls)
-        throws PortableException;
-
-    /**
      * Gets raw reader. Raw reader does not use field name hash codes, therefore,
      * making the format even more compact. However, if the raw reader is used,
      * dynamic structure changes to the portable objects are not supported.


Mime
View raw message