You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2016/12/27 17:19:59 UTC

tinkerpop git commit: TINKERPOP-1130 Enable more tests on gryo 1.0 and 3.3.0.

Repository: tinkerpop
Updated Branches:
  refs/heads/TINKERPOP-1130 10d5bf876 -> dbab48d1c


TINKERPOP-1130 Enable more tests on gryo 1.0 and 3.3.0.


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

Branch: refs/heads/TINKERPOP-1130
Commit: dbab48d1cd6d818fb63304a45dd7a79e4645c291
Parents: 10d5bf8
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Tue Dec 27 12:19:03 2016 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Tue Dec 27 12:19:03 2016 -0500

----------------------------------------------------------------------
 .../org/apache/tinkerpop/gremlin/structure/io/Model.java  | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/dbab48d1/gremlin-tools/gremlin-io-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Model.java
----------------------------------------------------------------------
diff --git a/gremlin-tools/gremlin-io-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Model.java b/gremlin-tools/gremlin-io-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Model.java
index b3c815f..0f042c6 100644
--- a/gremlin-tools/gremlin-io-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Model.java
+++ b/gremlin-tools/gremlin-io-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Model.java
@@ -113,13 +113,13 @@ public class Model {
         final GraphTraversalSource g = graph.traversal();
 
         // IMPORTANT - the "title" or name of the Entry needs to be unique
-        addCoreEntry(File.class, "Class", GryoCompatibility.V1D0_3_2_3, GryoCompatibility.V1D0_3_3_0);
+        addCoreEntry(File.class, "Class", GryoCompatibility.V1D0_3_2_3);
         addCoreEntry(new Date(1481750076295L), "Date");
         addCoreEntry(100.00d, "Double");
         addCoreEntry(100.00f, "Float");
         addCoreEntry(100, "Integer");
         addCoreEntry(100L, "Long");
-        addCoreEntry(new java.sql.Timestamp(1481750076295L), "Timestamp", GryoCompatibility.V1D0_3_2_3, GryoCompatibility.V1D0_3_3_0);
+        addCoreEntry(new java.sql.Timestamp(1481750076295L), "Timestamp", GryoCompatibility.V1D0_3_2_3);
         addCoreEntry(UUID.fromString("41d2e28a-20a4-4ab0-b379-d810dede3786"), "UUID");
 
         addGraphStructureEntry(graph.edges().next(), "Edge");
@@ -213,7 +213,7 @@ public class Model {
         try {
             addExtendedEntry(InetAddress.getByName("localhost"), "InetAddress", "",
                     GraphSONCompatibility.V1D0_3_2_3, GraphSONCompatibility.V1D0_3_3_0, GraphSONCompatibility.V2D0_NO_TYPE_3_2_3, GraphSONCompatibility.V2D0_NO_TYPE_3_3_0,
-                    GryoCompatibility.V1D0_3_2_3, GryoCompatibility.V1D0_3_3_0);
+                    GryoCompatibility.V1D0_3_2_3);
         } catch (Exception ex) {
             throw new RuntimeException(ex);
         }
@@ -417,10 +417,6 @@ public class Model {
         private final String description;
         private final List<Compatibility> compatibleWith;
         private final Supplier<?> maker;
-        
-        public Entry(final String title, final Object object, final String description, final List<Compatibility> compatibleWith) {
-            this(title, object, description, compatibleWith, null);
-        }
 
         public Entry(final String title, final Object object, final String description, final List<Compatibility> compatibleWith, final Supplier<?> maker) {
             this.title = title;