Skip to content

Commit

Permalink
Simplify variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
khatchad committed Jul 22, 2024
1 parent 5da38bd commit 11ad894
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,16 +261,16 @@ private String resolveRelativeImport(String importName) {
}

private int getNumberOfBeginningDots(String string) {
int numBeginningDots = 0;
int ret = 0;

for (int i = 0; i < string.length(); i++) {
char character = string.charAt(i);

if (character == '.') ++numBeginningDots;
if (character == '.') ++ret;
else break;
}

return numBeginningDots;
return ret;
}
};
}
Expand Down

0 comments on commit 11ad894

Please sign in to comment.