# ignite-611
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/dc0da5d0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/dc0da5d0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/dc0da5d0 Branch: refs/heads/ignite-424 Commit: dc0da5d07cff084ae767d83da5998b4c8ae7e485 Parents: 46bb91a Author: sboikov <sboi...@gridgain.com> Authored: Tue Mar 31 12:13:53 2015 +0300 Committer: sboikov <sboi...@gridgain.com> Committed: Tue Mar 31 12:13:53 2015 +0300 ---------------------------------------------------------------------- .../cache/query/GridCacheQueriesImpl.java | 23 +------------------- 1 file changed, 1 insertion(+), 22 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/dc0da5d0/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesImpl.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesImpl.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesImpl.java index ae25c1c..40839fb 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesImpl.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesImpl.java @@ -34,7 +34,7 @@ import static org.apache.ignite.internal.processors.cache.query.GridCacheQueryTy /** * {@link CacheQueries} implementation. */ -public class GridCacheQueriesImpl<K, V> implements GridCacheQueriesEx<K, V>, Externalizable { +public class GridCacheQueriesImpl<K, V> implements GridCacheQueriesEx<K, V> { /** */ private static final long serialVersionUID = 0L; @@ -214,25 +214,4 @@ public class GridCacheQueriesImpl<K, V> implements GridCacheQueriesEx<K, V>, Ext incMeta, prj != null && prj.isKeepPortable()); } - - /** {@inheritDoc} */ - @Override public void writeExternal(ObjectOutput out) throws IOException { - out.writeObject(prj); - } - - /** {@inheritDoc} */ - @SuppressWarnings("unchecked") - @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { - prj = (GridCacheProjectionImpl<K, V>)in.readObject(); - } - - /** - * Reconstructs object on unmarshalling. - * - * @return Reconstructed object. - * @throws ObjectStreamException Thrown in case of unmarshalling error. - */ - private Object readResolve() throws ObjectStreamException { - return prj.queries(); - } }