Show empty statement by putting the semicolon on its own line - FilePath.normalize

Co-Authored-By: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
This commit is contained in:
Josh SorefandDaniel Beck authored and GitHub committed 2019-05-14 10:58:34 -04:00
1 parent 36fa47add2
commit e851b5e024
1 file changed
+2 -1
+2 -1
View File
@@ -336,7 +336,8 @@ public final class FilePath implements SerializableOnlyOverRemoting {
s = i;
// Skip any extra separator chars
//noinspection StatementWithEmptyBody
while (++i < end && ((c = path.charAt(i)) == '/' || c == '\\'));
while (++i < end && ((c = path.charAt(i)) == '/' || c == '\\'))
;
// Add token for separator unless we reached the end
if (i < end) tokens.add(path.substring(s, s+1));
s = i;