Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-09-07 23:31:48 +0000
committerspingel2010-09-07 23:31:48 +0000
commit1af16fb014468947dd24367d7d71f412e363bbdf (patch)
treedbae8808a83c260b40b57be853b93a76fc947db0 /org.eclipse.mylyn.trac.ui/src/org/eclipse
parent03221d7e630a86589e48da7a480f1638a8aeee65 (diff)
downloadorg.eclipse.mylyn.tasks-1af16fb014468947dd24367d7d71f412e363bbdf.tar.gz
org.eclipse.mylyn.tasks-1af16fb014468947dd24367d7d71f412e363bbdf.tar.xz
org.eclipse.mylyn.tasks-1af16fb014468947dd24367d7d71f412e363bbdf.zip
NEW - bug 324571: [build] Bad string comparison using !=
https://bugs.eclipse.org/bugs/show_bug.cgi?id=324571
Diffstat (limited to 'org.eclipse.mylyn.trac.ui/src/org/eclipse')
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracImages.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracImages.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracImages.java
index 7ba70ee0b..ba3fcd3fb 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracImages.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracImages.java
@@ -47,9 +47,7 @@ public class TracImages {
}
StringBuilder buffer = new StringBuilder(prefix);
- if (prefix != "") { //$NON-NLS-1$
- buffer.append('/');
- }
+ buffer.append('/');
buffer.append(name);
return new URL(baseURL, buffer.toString());
}

Back to the top