Skip to content

Commit

Permalink
improve implicit parameter name max_depth
Browse files Browse the repository at this point in the history
Improve the implicit parameter name in the error message

fixed #519

Change-Id: I03ef4ef2b7adfc02129c774f8e45d8f935e61874
  • Loading branch information
oushu1zhangxiangxuan1 authored and javeme committed Jun 11, 2019
1 parent abebfac commit 976953d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public Set<Id> 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);
Expand Down Expand Up @@ -143,7 +143,7 @@ public Set<Id> 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);

Expand Down

0 comments on commit 976953d

Please sign in to comment.