| @@ -562,22 +562,22 @@ public class Path extends DataType implements Cloneable, ResourceCollection { | |||||
| if (o != null) { | if (o != null) { | ||||
| order = o; | order = o; | ||||
| } | } | ||||
| if (order.equals("only")) { | |||||
| if ("only".equals(order)) { | |||||
| // only: the developer knows what (s)he is doing | // only: the developer knows what (s)he is doing | ||||
| result.addExisting(p, true); | result.addExisting(p, true); | ||||
| } else if (order.equals("first")) { | |||||
| } else if ("first".equals(order)) { | |||||
| // first: developer could use a little help | // first: developer could use a little help | ||||
| result.addExisting(p, true); | result.addExisting(p, true); | ||||
| result.addExisting(this); | result.addExisting(this); | ||||
| } else if (order.equals("ignore")) { | |||||
| } else if ("ignore".equals(order)) { | |||||
| // ignore: don't trust anyone | // ignore: don't trust anyone | ||||
| result.addExisting(this); | result.addExisting(this); | ||||
| } else { | } else { | ||||
| // last: don't trust the developer | // last: don't trust the developer | ||||
| if (!order.equals("last")) { | |||||
| if (!"last".equals(order)) { | |||||
| log("invalid value for " + MagicNames.BUILD_SYSCLASSPATH | log("invalid value for " + MagicNames.BUILD_SYSCLASSPATH | ||||
| + ": " + order, | + ": " + order, | ||||
| Project.MSG_WARN); | Project.MSG_WARN); | ||||