From 88f249ac0af5cba4d45ccaf4769e84b064f6d272 Mon Sep 17 00:00:00 2001 From: Jermy Li Date: Wed, 12 Jun 2019 03:25:25 -0500 Subject: [PATCH] improve implicit parameter name max_depth (#563) fixed #519 Change-Id: I03ef4ef2b7adfc02129c774f8e45d8f935e61874 --- .../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);