Repository: incubator-ignite Updated Branches: refs/heads/ignite-sprint-3 7e86251e8 -> 0180d1803
# GG-10002: Debug. Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/d7dad487 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/d7dad487 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/d7dad487 Branch: refs/heads/ignite-sprint-3 Commit: d7dad487da127b66554f48e96800509be7830d78 Parents: c2f5211 Author: vozerov-gridgain <voze...@gridgain.com> Authored: Tue Mar 31 13:16:19 2015 +0300 Committer: vozerov-gridgain <voze...@gridgain.com> Committed: Tue Mar 31 13:16:19 2015 +0300 ---------------------------------------------------------------------- .../internal/processors/query/GridQueryProcessor.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d7dad487/modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryProcessor.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryProcessor.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryProcessor.java index 0ae5325..2e5a7a0 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryProcessor.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryProcessor.java @@ -397,22 +397,16 @@ public class GridQueryProcessor extends GridProcessorAdapter { try { final Class<?> valCls = val.getClass(); - TypeId id; + int typeId = ctx.cacheObjects().typeId(val); if (ctx.cacheObjects().isPortableObject(val)) { - int typeId = ctx.cacheObjects().typeId(val); - String typeName = portableName(typeId); if (typeName == null) return; - - id = new TypeId(space, typeId); } - else - id = new TypeId(space, valCls); - TypeDescriptor desc = types.get(id); + TypeDescriptor desc = types.get(new TypeId(space, typeId)); if (desc == null || !desc.registered()) return;