Repository: tinkerpop
Updated Branches:
  refs/heads/TINKERPOP-1632 73b712d20 -> de810bcb7


TINKERPOP-1632 Added double definition to traversal generation script


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

Branch: refs/heads/TINKERPOP-1632
Commit: de810bcb71e4deb287d9a8cefb1be15e59d842b6
Parents: 73b712d
Author: Stephen Mallette <[email protected]>
Authored: Thu Oct 12 13:21:17 2017 -0400
Committer: Stephen Mallette <[email protected]>
Committed: Thu Oct 12 13:21:17 2017 -0400

----------------------------------------------------------------------
 gremlin-dotnet/glv/generate.groovy                               | 1 +
 .../src/Gremlin.Net/Process/Traversal/GraphTraversal.cs          | 4 ++--
 gremlin-dotnet/src/Gremlin.Net/Process/Traversal/__.cs           | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/de810bcb/gremlin-dotnet/glv/generate.groovy
----------------------------------------------------------------------
diff --git a/gremlin-dotnet/glv/generate.groovy 
b/gremlin-dotnet/glv/generate.groovy
index 95ee969..6504fcf 100644
--- a/gremlin-dotnet/glv/generate.groovy
+++ b/gremlin-dotnet/glv/generate.groovy
@@ -27,6 +27,7 @@ import org.apache.tinkerpop.gremlin.structure.Direction
 import java.lang.reflect.Modifier
 
 def toCSharpTypeMap = ["Long": "long",
+                       "Double": "double",
                        "Integer": "int",
                        "String": "string",
                        "Object": "object",

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/de810bcb/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
----------------------------------------------------------------------
diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs 
b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
index 6c6d174..4239393 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
@@ -497,10 +497,10 @@ namespace Gremlin.Net.Process.Traversal
         /// <summary>
         ///     Adds the math step to this <see cref="GraphTraversal{SType, 
EType}" />.
         /// </summary>
-        public GraphTraversal< S , Double > Math (params object[] args)
+        public GraphTraversal< S , double > Math (params object[] args)
         {
             Bytecode.AddStep("math", args);
-            return Wrap< S , Double >(this);
+            return Wrap< S , double >(this);
         }
 
         /// <summary>

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/de810bcb/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/__.cs
----------------------------------------------------------------------
diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/__.cs 
b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/__.cs
index 0e0c527..404ba2a 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/__.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/__.cs
@@ -411,7 +411,7 @@ namespace Gremlin.Net.Process.Traversal
         /// <summary>
         ///     Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds 
the math step to that traversal.
         /// </summary>
-        public static GraphTraversal<object, Double> Math(params object[] args)
+        public static GraphTraversal<object, double> Math(params object[] args)
         {
             return new GraphTraversal<object, object>().Math(args);
         }

Reply via email to