mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 04:22:16 +00:00
noinspection StatementWithEmptyBody
This commit is contained in:
1 parent
8bea0c9526
commit
36fa47add2
8 files changed
+10
-3
No files matched your search
@@ -335,7 +335,8 @@ public final class FilePath implements SerializableOnlyOverRemoting {
|
||||
tokens.add(path.substring(s, i));
|
||||
s = i;
|
||||
// Skip any extra separator chars
|
||||
while (++i < end && ((c = path.charAt(i)) == '/' || c == '\\')) { }
|
||||
//noinspection StatementWithEmptyBody
|
||||
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