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 2022/06/17 13:03:04 UTC

[GitHub] [tinkerpop] spmallette commented on a diff in pull request #1714: TINKERPOP-2751: Throw exception if transaction attempted on non transaction supported Graph

spmallette commented on code in PR #1714:
URL: https://github.com/apache/tinkerpop/pull/1714#discussion_r900095906


##########
gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/op/session/SessionOpProcessor.java:
##########
@@ -526,6 +526,11 @@ protected void handleGraphOperation(final Bytecode bytecode, final Graph graph,
                 throw new IllegalStateException(String.format(
                         "Bytecode in request is not a recognized graph operation: %s", bytecode.toString()));
             }
+        } else {
+            UnsupportedOperationException uoe = Graph.Exceptions.transactionsNotSupported();

Review Comment:
   nit: final



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