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 2015/06/29 18:34:37 UTC

incubator-tinkerpop git commit: Used wrong representation of the Serializers enum for a default.

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master c33468cb7 -> c79d7f7ee


Used wrong representation of the Serializers enum for a default.


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

Branch: refs/heads/master
Commit: c79d7f7eebda85875f077202084c364e1f6486cb
Parents: c33468c
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Mon Jun 29 12:34:12 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Mon Jun 29 12:34:12 2015 -0400

----------------------------------------------------------------------
 .../apache/tinkerpop/gremlin/driver/util/ProfilingApplication.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/c79d7f7e/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/util/ProfilingApplication.java
----------------------------------------------------------------------
diff --git a/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/util/ProfilingApplication.java b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/util/ProfilingApplication.java
index 0ae00ac..36b4fe1 100644
--- a/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/util/ProfilingApplication.java
+++ b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/util/ProfilingApplication.java
@@ -128,7 +128,7 @@ public class ProfilingApplication {
         final int minInProcessPerConnection = Integer.parseInt(options.getOrDefault("minInProcessPerConnection", "16").toString());
         final int workerPoolSize = Integer.parseInt(options.getOrDefault("workerPoolSize", "2").toString());
         final int tooSlowThreshold = Integer.parseInt(options.getOrDefault("tooSlowThreshold", "125").toString());
-        final String serializer = options.getOrDefault("serializer", Serializers.GRYO_V1D0.getValue()).toString();
+        final String serializer = options.getOrDefault("serializer", Serializers.GRYO_V1D0.name()).toString();
 
         final String script = options.getOrDefault("script", "1+1").toString();