Revert changing of MyValididtyState.equalsTo()

This commit is contained in:
Sergey Evdokimov
2012-04-12 17:50:52 +04:00
parent 7be84b21de
commit f5d1109ec3
@@ -588,20 +588,11 @@ public class MavenResourceCompiler implements ClassPostProcessingCompiler {
if (!(otherState instanceof MyValididtyState)) return false;
MyValididtyState that = (MyValididtyState)otherState;
if (mySourceFileTimestamp != that.mySourceFileTimestamp
|| myOutputFileTimestamp != that.myOutputFileTimestamp
|| myFiltered != that.myFiltered) {
return false;
}
if (myFiltered) {
if (myPropertiesHashCode != that.myPropertiesHashCode
|| !Comparing.strEqual(myEscapeString, that.myEscapeString)) {
return false;
}
}
return true;
return mySourceFileTimestamp == that.mySourceFileTimestamp
&& myOutputFileTimestamp == that.myOutputFileTimestamp
&& myFiltered == that.myFiltered
&& myPropertiesHashCode == that.myPropertiesHashCode
&& Comparing.strEqual(myEscapeString, that.myEscapeString);
}
public void save(DataOutput out) throws IOException {