Skip to content

Commit

Permalink
Issue #000 fix: correction of variable names.
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshkumargangula committed May 3, 2021
1 parent 4774ce6 commit a5faf85
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public ArrayExpander(Map<String, Object> pathExpander) throws Exception {
if (directionsList == null) {
throw new Exception("Directions field is mandatory for path expander");
}
Integer nodeCount = Integer.parseInt((String) pathExpander.get("nodeCount"));
Integer pathNodeCount = Integer.parseInt((String) pathExpander.get("nodeCount"));

RelationshipType[] types = new RelationshipType[relationTypes.size()];
Direction[] directions = new Direction[directionsList.size()];
Expand All @@ -295,7 +295,7 @@ public ArrayExpander(Map<String, Object> pathExpander) throws Exception {
}
this.directions = directions;
this.types = types;
this.nodeCount = nodeCount;
this.nodeCount = pathNodeCount;
}
}

Expand Down

0 comments on commit a5faf85

Please sign in to comment.