Author: fbricon
Date: 2011-10-21 04:05:18 -0400 (Fri, 21 Oct 2011)
New Revision: 35890
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/fixes/WTPRuntimeFix.java
Log:
Removed unnecessary call to isComponentPresent(fix, runtime)
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/fixes/WTPRuntimeFix.java
===================================================================
---
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/fixes/WTPRuntimeFix.java 2011-10-21
07:52:34 UTC (rev 35889)
+++
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/fixes/WTPRuntimeFix.java 2011-10-21
08:05:18 UTC (rev 35890)
@@ -204,7 +204,7 @@
if (runtimeType != null && runtimeType.getId().equals(allowedType)) {
IRuntime componentPresent = isComponentPresent(fix, runtime);
if (componentPresent != null) {
- return isComponentPresent(fix, runtime);
+ return componentPresent;
}
}
}
Show replies by date