tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dkupp...@apache.org
Subject [08/31] incubator-tinkerpop git commit: removed some commented code
Date Mon, 28 Mar 2016 17:06:23 GMT
removed some commented code


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

Branch: refs/heads/docker
Commit: 2f32f0cf0e158a1a8a2c4fbdc4956bf4fd29fa14
Parents: edb61f5
Author: Dylan Millikin <dmill@apache.org>
Authored: Fri Mar 18 01:02:38 2016 -0400
Committer: Dylan Millikin <dmill@apache.org>
Committed: Fri Mar 18 01:02:38 2016 -0400

----------------------------------------------------------------------
 .../gremlin/structure/io/graphson/GraphSONSerializers.java         | 2 +-
 .../driver/ser/GraphSONMessageSerializerGremlinV1d0Test.java       | 1 -
 .../gremlin/driver/ser/GraphSONMessageSerializerV1d0Test.java      | 1 -
 .../org/apache/tinkerpop/gremlin/structure/SerializationTest.java  | 2 +-
 4 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/2f32f0cf/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONSerializers.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONSerializers.java
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONSerializers.java
index cf56218..aaca316 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONSerializers.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONSerializers.java
@@ -280,7 +280,7 @@ final class GraphSONSerializers {
         
         private static void ser(final Tree tree, final JsonGenerator jsonGenerator, final
TypeSerializer typeSerializer)
                 throws IOException {
-            jsonGenerator.writeStartObject(); // {
+            jsonGenerator.writeStartObject(); 
             if (typeSerializer != null) jsonGenerator.writeStringField(GraphSONTokens.CLASS,
HashMap.class.getName());
             
             Set<Map.Entry<Element, Tree>> set = tree.entrySet();

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/2f32f0cf/gremlin-driver/src/test/java/org/apache/tinkerpop/gremlin/driver/ser/GraphSONMessageSerializerGremlinV1d0Test.java
----------------------------------------------------------------------
diff --git a/gremlin-driver/src/test/java/org/apache/tinkerpop/gremlin/driver/ser/GraphSONMessageSerializerGremlinV1d0Test.java
b/gremlin-driver/src/test/java/org/apache/tinkerpop/gremlin/driver/ser/GraphSONMessageSerializerGremlinV1d0Test.java
index 7ff6a7e..0091a5f 100644
--- a/gremlin-driver/src/test/java/org/apache/tinkerpop/gremlin/driver/ser/GraphSONMessageSerializerGremlinV1d0Test.java
+++ b/gremlin-driver/src/test/java/org/apache/tinkerpop/gremlin/driver/ser/GraphSONMessageSerializerGremlinV1d0Test.java
@@ -259,7 +259,6 @@ public class GraphSONMessageSerializerGremlinV1d0Test {
     public void shouldSerializeToJsonTree() throws Exception {
         final TinkerGraph graph = TinkerFactory.createClassic();
         final GraphTraversalSource g = graph.traversal();
-        //final Iterable<Tree> iterable = IteratorUtils.list(g.V(1).out().properties("name").tree());
         final Map t = g.V(1).out().properties("name").tree().next();
 
         final ResponseMessage response = convert(t);

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/2f32f0cf/gremlin-driver/src/test/java/org/apache/tinkerpop/gremlin/driver/ser/GraphSONMessageSerializerV1d0Test.java
----------------------------------------------------------------------
diff --git a/gremlin-driver/src/test/java/org/apache/tinkerpop/gremlin/driver/ser/GraphSONMessageSerializerV1d0Test.java
b/gremlin-driver/src/test/java/org/apache/tinkerpop/gremlin/driver/ser/GraphSONMessageSerializerV1d0Test.java
index e9e4f80..a4cee54 100644
--- a/gremlin-driver/src/test/java/org/apache/tinkerpop/gremlin/driver/ser/GraphSONMessageSerializerV1d0Test.java
+++ b/gremlin-driver/src/test/java/org/apache/tinkerpop/gremlin/driver/ser/GraphSONMessageSerializerV1d0Test.java
@@ -413,7 +413,6 @@ public class GraphSONMessageSerializerV1d0Test {
     public void shouldSerializeToJsonTree() throws Exception {
         final TinkerGraph graph = TinkerFactory.createClassic();
         final GraphTraversalSource g = graph.traversal();
-        //final Iterable<Tree> iterable = IteratorUtils.list(g.V(1).out().properties("name").tree());
         final Tree t = g.V(1).out().properties("name").tree().next();
 
         

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/2f32f0cf/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/SerializationTest.java
----------------------------------------------------------------------
diff --git a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/SerializationTest.java
b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/SerializationTest.java
index 87afa7d..a99bcd5 100644
--- a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/SerializationTest.java
+++ b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/SerializationTest.java
@@ -240,7 +240,7 @@ public class SerializationTest {
             final ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
             final Tree after = gryoReader.readObject(inputStream, Tree.class);
             assertNotNull(after);
-            //Seeing as Tree implements Serializable the following assertions should be sufficent.
+            //The following assertions should be sufficent.
             assertThat("Type does not match", after, instanceOf(Tree.class));
             assertEquals("The objects differ", after, before);
         }


Mime
View raw message