Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordeboer2004-11-09 15:23:23 +0000
committerdeboer2004-11-09 15:23:23 +0000
commitdf573d78b1fccb373542372c2c1c165ba155adf2 (patch)
tree2907d072ad30ccd07b9292e2d71424a23531901b /plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/TomcatServerUtil.java
parent0db9dfbc7674ba3364f2dafd4ee234788f4f3a80 (diff)
downloadwebtools.servertools-df573d78b1fccb373542372c2c1c165ba155adf2.tar.gz
webtools.servertools-df573d78b1fccb373542372c2c1c165ba155adf2.tar.xz
webtools.servertools-df573d78b1fccb373542372c2c1c165ba155adf2.zip
Compiler warning cleanup
Diffstat (limited to 'plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/TomcatServerUtil.java')
-rw-r--r--plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/TomcatServerUtil.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/TomcatServerUtil.java b/plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/TomcatServerUtil.java
index 742a08671..5e0f98b35 100644
--- a/plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/TomcatServerUtil.java
+++ b/plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/TomcatServerUtil.java
@@ -72,8 +72,8 @@ public class TomcatServerUtil {
case IClasspathEntry.CPE_LIBRARY:
if (!path.isAbsolute())
return null;
- else
- return JavaCore.newLibraryEntry(path, sourceAttachmentPath, sourceAttachmentRootPath);
+
+ return JavaCore.newLibraryEntry(path, sourceAttachmentPath, sourceAttachmentRootPath);
case IClasspathEntry.CPE_VARIABLE:
return JavaCore.newVariableEntry(path, sourceAttachmentPath, sourceAttachmentRootPath);

Back to the top