blob: 753f032bb9c339e1a6da543e9810cd00b4fc8c0f [file] [log] [blame]
package com.siyeh.ipp.trivialif.replaceIfWithConditional;
class ConditionalCondition {
String s;
String t;
public boolean equals(Object other) {
if (!(other instanceof ConditionalCondition)) return false;
final ConditionalCondition condition = (ConditionalCondition)other;
return (s != null ? !s.equals(condition.s) : condition.s != null) ? false : t.equals(condition.t);
}
}