Comply with new 140 column per line checkstyle
This commit is contained in:
parent
225adcfaeb
commit
b108cb84bc
|
@ -108,14 +108,17 @@ public abstract class AbstractSuggestionBuilderTestCase<SB extends SuggestionBui
|
|||
assertTrue("suggestion builder is not equal to self", secondBuilder.equals(secondBuilder));
|
||||
assertTrue("suggestion builder is not equal to its copy", firstBuilder.equals(secondBuilder));
|
||||
assertTrue("equals is not symmetric", secondBuilder.equals(firstBuilder));
|
||||
assertThat("suggestion builder copy's hashcode is different from original hashcode", secondBuilder.hashCode(), equalTo(firstBuilder.hashCode()));
|
||||
assertThat("suggestion builder copy's hashcode is different from original hashcode", secondBuilder.hashCode(),
|
||||
equalTo(firstBuilder.hashCode()));
|
||||
|
||||
SB thirdBuilder = serializedCopy(secondBuilder);
|
||||
assertTrue("suggestion builder is not equal to self", thirdBuilder.equals(thirdBuilder));
|
||||
assertTrue("suggestion builder is not equal to its copy", secondBuilder.equals(thirdBuilder));
|
||||
assertThat("suggestion builder copy's hashcode is different from original hashcode", secondBuilder.hashCode(), equalTo(thirdBuilder.hashCode()));
|
||||
assertThat("suggestion builder copy's hashcode is different from original hashcode", secondBuilder.hashCode(),
|
||||
equalTo(thirdBuilder.hashCode()));
|
||||
assertTrue("equals is not transitive", firstBuilder.equals(thirdBuilder));
|
||||
assertThat("suggestion builder copy's hashcode is different from original hashcode", firstBuilder.hashCode(), equalTo(thirdBuilder.hashCode()));
|
||||
assertThat("suggestion builder copy's hashcode is different from original hashcode", firstBuilder.hashCode(),
|
||||
equalTo(thirdBuilder.hashCode()));
|
||||
assertTrue("equals is not symmetric", thirdBuilder.equals(secondBuilder));
|
||||
assertTrue("equals is not symmetric", thirdBuilder.equals(firstBuilder));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue