Author: fbricon
Date: 2012-01-16 05:02:59 -0500 (Mon, 16 Jan 2012)
New Revision: 37856
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/fixes/WTPRuntimeFix.java
Log:
Use else-if when appropriate
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 2012-01-16
09:56:38 UTC (rev 37855)
+++
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/fixes/WTPRuntimeFix.java 2012-01-16
10:02:59 UTC (rev 37856)
@@ -271,17 +271,17 @@
return null;
}
}
- if (ESB.equals(component)) {
+ else if (ESB.equals(component)) {
if (!isEsbPresent(location, runtime)) {
return null;
}
}
- if (BPEL.equals(component)) {
+ else if (BPEL.equals(component)) {
if (!isBpelPresent(location, runtime)) {
return null;
}
}
- if (TEIID.equals(component)) {
+ else if (TEIID.equals(component)) {
if (!isTeiidPresent(location, runtime)) {
return null;
}
Show replies by date