Annotation tests should not rely on JDK-specific toString() representation

Issue: SPR-14645
This commit is contained in:
Juergen Hoeller 2016-08-31 14:42:08 +02:00
parent 7a88776329
commit faf6e5d8fa
1 changed files with 0 additions and 5 deletions

View File

@ -1357,11 +1357,6 @@ public class AnnotationUtilsTests {
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);
}