andreachild commented on code in PR #2982:
URL: https://github.com/apache/tinkerpop/pull/2982#discussion_r1919319574


##########
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/util/Gremlin.java:
##########
@@ -37,6 +37,8 @@ public static String version() {
         return gremlinVersion;
     }
 
+    public static String majorVersion() { return version().split("\\.")[0]; }

Review Comment:
   Nit: Would be nice to have javadoc for this new utility method.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to