Issue #20: Fix breakage to alertViz caused by changes to
FileUtil.join(). Former-commit-id: 8832c64ba47f87027d5215caf7d84b9fc6a187cd
This commit is contained in:
parent
94d6af30f0
commit
8a45f1f4c3
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ public class FileUtil {
|
||||||
for (String component : pathComponents) {
|
for (String component : pathComponents) {
|
||||||
if ((fullPath.length() > 0)
|
if ((fullPath.length() > 0)
|
||||||
&& (fullPath.charAt(fullPath.length() - 1) != File.separatorChar)
|
&& (fullPath.charAt(fullPath.length() - 1) != File.separatorChar)
|
||||||
&& (component.charAt(0) != File.separatorChar)) {
|
&& ((component.isEmpty()) || (component.charAt(0) != File.separatorChar))) {
|
||||||
fullPath.append(File.separatorChar);
|
fullPath.append(File.separatorChar);
|
||||||
}
|
}
|
||||||
fullPath.append(component);
|
fullPath.append(component);
|
||||||
|
|
Loading…
Add table
Reference in a new issue