From 59c0a01017d3cfb12fce9ba1c547539a6e2d90e3 Mon Sep 17 00:00:00 2001 From: oushu1zhangxiang1 Date: Thu, 23 May 2019 10:29:25 +0800 Subject: [PATCH] inexplicit parameter name bug fixed https://github.com/hugegraph/hugegraph/issues/519 --- .../baidu/hugegraph/traversal/algorithm/HugeTraverser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/traversal/algorithm/HugeTraverser.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/traversal/algorithm/HugeTraverser.java index 279064fcaa..d0b9852e40 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/traversal/algorithm/HugeTraverser.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/traversal/algorithm/HugeTraverser.java @@ -87,7 +87,7 @@ public Set kout(Id sourceV, Directions dir, String label, long degree, long capacity, long limit) { E.checkNotNull(sourceV, "source vertex id"); E.checkNotNull(dir, "direction"); - checkPositive(depth, "k-out depth"); + checkPositive(depth, "k-out max_depth"); checkDegree(degree); checkCapacity(capacity); checkLimit(limit); @@ -143,7 +143,7 @@ public Set kneighbor(Id sourceV, Directions dir, long degree, long limit) { E.checkNotNull(sourceV, "source vertex id"); E.checkNotNull(dir, "direction"); - checkPositive(depth, "k-neighbor depth"); + checkPositive(depth, "k-neighbor max_depth"); checkDegree(degree); checkLimit(limit);