javeme commented on code in PR #1852:
URL: 
https://github.com/apache/incubator-hugegraph/pull/1852#discussion_r858663207


##########
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/raft/RaftBackendStore.java:
##########
@@ -189,10 +189,9 @@ public void increaseCounter(HugeType type, long increment) 
{
 
     @Override
     public long getCounter(HugeType type) {
-         Object counter = this.queryByRaft(type, true,
-                                           o -> this.store.getCounter(type));
-         assert counter instanceof Long;
-         return (Long) counter;
+        Object counter = this.queryByRaft(type, true,o -> 
this.store.getCounter(type));

Review Comment:
   expect a space after "true,"



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