mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-30 21:15:23 +00:00
[HUDSON-5951] yay for tests, fix error in new normalize() before it went in any release
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30579 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
a6e6c7946a
commit
f855c5ee22
1 file changed
+1
-1
@@ -273,7 +273,7 @@ public final class FilePath implements Serializable {
|
||||
} else {
|
||||
// Normalize: remove something/.. plus separator before/after
|
||||
i -= 2;
|
||||
for (int j = 0; j < 2; j++) tokens.remove(i);
|
||||
for (int j = 0; j < 3; j++) tokens.remove(i);
|
||||
if (i > 0) tokens.remove(i-1);
|
||||
else if (tokens.size() > 0) tokens.remove(0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user