Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refact: fix some bugs & clean code #1741

Merged
merged 9 commits into from
Mar 21, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update EdgeStep.java
  • Loading branch information
imbajin committed Feb 22, 2022
commit dda926c188983180039dd8f25fd225a1c4bb3f28
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public EdgeStep(HugeGraph g, Directions direction, List<String> labels,
public EdgeStep(HugeGraph g, Directions direction, List<String> labels,
Map<String, Object> properties,
long degree, long skipDegree) {
E.checkNotNull(g, "The graph can't be null");
E.checkArgumentNotNull(g, "The graph can't be null");
E.checkArgument(degree == NO_LIMIT || degree > 0L,
"The max degree must be > 0 or == -1, but got: %s",
degree);
Expand Down