Skip to content

Commit

Permalink
fix:add comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Z-HUANT committed Jan 4, 2024
1 parent 9022fb1 commit bbd2034
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ public String list(@Context GraphManager manager,

GraphTraversal<?, Edge> traversal;

// Optimize edge query. Return early when the EdgeLabel does not exist.
if (label != null && !g.existsEdgeLabel(label)) {
try {
traversal = g.traversal().E().limit(0);

Check warning on line 298 in hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/graph/EdgeAPI.java

View check run for this annotation

Codecov / codecov/patch

hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/graph/EdgeAPI.java#L298

Added line #L298 was not covered by tests
Expand Down

0 comments on commit bbd2034

Please sign in to comment.