aaawuanjun commented on issue #2542:
URL: 
https://github.com/apache/incubator-hugegraph/issues/2542#issuecomment-2126340164

   it does not work,  the code version is 1.3.0
   
   from belows, it produce exception, it does not judge U prefix
   ```text
       private static Vertex getVertex(HugeGraph graph, Object id, String 
label) {
           HugeVertex vertex;
           try {
               vertex = (HugeVertex) graph.vertices(id).next();
           } catch (NoSuchElementException e) {
               throw new IllegalArgumentException(String.format("Invalid vertex 
id '%s'", id));
           }
           if (label != null && !vertex.label().equals(label)) {
               throw new IllegalArgumentException(String.format(
                       "The label of vertex '%s' is unmatched, users expect " +
                       "label '%s', actual label stored is '%s'",
                       id, label, vertex.label()));
           }
           // Clone a new vertex to support multi-thread access
           return vertex.copy();
       }
   ```


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to