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 23:44:18 UTC

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

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



##########
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:
       No that was an auto-formatting change.




-- 
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