mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-04 23:55:52 +00:00
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:
1 parent
36fa47add2
commit
e851b5e024
1 file changed
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user