You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by GitBox <gi...@apache.org> on 2021/12/21 20:17:02 UTC

[GitHub] [tinkerpop] spmallette commented on a change in pull request #1533: Tinkerpop 2665 - Add ability for property() to take a map

spmallette commented on a change in pull request #1533:
URL: https://github.com/apache/tinkerpop/pull/1533#discussion_r773418177



##########
File path: gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/__.java
##########
@@ -980,7 +981,18 @@ protected __() {
      * @see GraphTraversal#property(VertexProperty.Cardinality, Object, Object, Object...)
      */
     public static <A> GraphTraversal<A, A> property(final VertexProperty.Cardinality cardinality, final Object key, final Object value, final Object... keyValues) {
-        return __.<A>start().property(cardinality, key, value, keyValues);
+        return __.<A>
+        
+        start().property(cardinality, key, value, keyValues);
+    }
+
+    /**
+     * @see GraphTraversal#property(Object)
+     */
+    public static <A> GraphTraversal<A, A> property(final Object value) {
+        return __.<A>
+
+                start().property(value);

Review comment:
       is this extra spacing here intended? could you please fold both this one and the previous back to one line?




-- 
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: commits-unsubscribe@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org