From e00fec5469ffe2941cf642f8970c50260ac379f3 Mon Sep 17 00:00:00 2001 From: lijie0203 Date: Tue, 26 Nov 2024 14:12:19 +0800 Subject: [PATCH 1/2] fix(client): When calling the 'kneigbor' interface and returning the result, scenarios where 'withPath' is' true 'and' false 'are incompatible (#43) --- .../org/apache/hugegraph/structure/traverser/Kneighbor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hugegraph-client/src/main/java/org/apache/hugegraph/structure/traverser/Kneighbor.java b/hugegraph-client/src/main/java/org/apache/hugegraph/structure/traverser/Kneighbor.java index df132b1fd..ebecad3f8 100644 --- a/hugegraph-client/src/main/java/org/apache/hugegraph/structure/traverser/Kneighbor.java +++ b/hugegraph-client/src/main/java/org/apache/hugegraph/structure/traverser/Kneighbor.java @@ -37,7 +37,7 @@ public class Kneighbor { @JsonProperty private Set vertices; @JsonProperty - private Set edges; + private Set edges; @JsonProperty private ApiMeasure measure; @@ -57,7 +57,7 @@ public Set vertices() { return this.vertices; } - public Set edges() { + public Set edges() { return this.edges; } From 34522c10b42546e81a54f5be9caeb0f9a0bcc122 Mon Sep 17 00:00:00 2001 From: lijie0203 Date: Tue, 26 Nov 2024 14:12:19 +0800 Subject: [PATCH 2/2] fix(client): When calling the 'kneigbor' interface and returning the result, scenarios where 'withPath' is' true 'and' false 'are incompatible (#643) --- .../org/apache/hugegraph/structure/traverser/Kneighbor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hugegraph-client/src/main/java/org/apache/hugegraph/structure/traverser/Kneighbor.java b/hugegraph-client/src/main/java/org/apache/hugegraph/structure/traverser/Kneighbor.java index df132b1fd..ebecad3f8 100644 --- a/hugegraph-client/src/main/java/org/apache/hugegraph/structure/traverser/Kneighbor.java +++ b/hugegraph-client/src/main/java/org/apache/hugegraph/structure/traverser/Kneighbor.java @@ -37,7 +37,7 @@ public class Kneighbor { @JsonProperty private Set vertices; @JsonProperty - private Set edges; + private Set edges; @JsonProperty private ApiMeasure measure; @@ -57,7 +57,7 @@ public Set vertices() { return this.vertices; } - public Set edges() { + public Set edges() { return this.edges; }