revert GryoWriter change
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/6cef5e5b Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/6cef5e5b Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/6cef5e5b Branch: refs/heads/master Commit: 6cef5e5b5b5dc0aa9bd8b74b0b92fa2964f49eb5 Parents: 1149101 Author: Jason Plurad <plur...@us.ibm.com> Authored: Wed Jun 15 09:15:24 2016 -0400 Committer: Jason Plurad <plur...@us.ibm.com> Committed: Wed Jun 15 09:15:24 2016 -0400 ---------------------------------------------------------------------- .../org/apache/tinkerpop/gremlin/structure/io/gryo/GryoWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/6cef5e5b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoWriter.java ---------------------------------------------------------------------- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoWriter.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoWriter.java index 7ef7ec5..b3a25fa 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoWriter.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoWriter.java @@ -131,7 +131,7 @@ public final class GryoWriter implements GraphWriter { public void writeProperty(final OutputStream outputStream, final Property p) throws IOException { final Output output = new Output(outputStream); writeHeader(output); - kryo.writeObject(output, DetachedFactory.detach(p)); + kryo.writeObject(output, DetachedFactory.detach(p, true)); output.flush(); }