Skip to content

Commit

Permalink
Annotation tests should not rely on JDK-specific toString() represent…
Browse files Browse the repository at this point in the history
…ation

Issue: SPR-14645
  • Loading branch information
jhoeller committed Aug 31, 2016
1 parent 7a88776 commit faf6e5d
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1357,11 +1357,6 @@ public void toStringForSynthesizedAnnotations() throws Exception {
assertNotNull(synthesizedWebMapping2);

assertThat(webMappingWithAliases.toString(), is(not(synthesizedWebMapping1.toString())));

// The unsynthesized annotation for handleMappedWithSamePathAndValueAttributes()
// should produce the same toString() results as synthesized annotations for
// handleMappedWithPathAttribute()
assertToStringForWebMappingWithPathAndValue(webMappingWithPathAndValue);
assertToStringForWebMappingWithPathAndValue(synthesizedWebMapping1);
assertToStringForWebMappingWithPathAndValue(synthesizedWebMapping2);
}
Expand Down

0 comments on commit faf6e5d

Please sign in to comment.