Skip to content

Commit

Permalink
fix comments from ivan
Browse files Browse the repository at this point in the history
  • Loading branch information
Yavor16 committed Apr 10, 2024
1 parent 92bd8ad commit 3e00cc6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ private void handlePropertyReferences(Module module, Map.Entry<String, Object> p

private int getRouteIndex(String propertyValueString) {
int indexOfSlash = propertyValueString.indexOf(DASH_SYMBOL);
String routeIndex = propertyValueString.substring(indexOfSlash + 1, indexOfSlash + 2);
int indexOfSecondSlash = propertyValueString.indexOf(DASH_SYMBOL, indexOfSlash + 1);
String routeIndex = propertyValueString.substring(indexOfSlash + 1, indexOfSecondSlash);

return Integer.parseInt(routeIndex);
}
Expand Down

0 comments on commit 3e00cc6

Please sign in to comment.