File tree Expand file tree Collapse file tree
spring-core/src/main/java/org/springframework/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1727,18 +1727,18 @@ public boolean equals(Object o) {
17271727
17281728 @ Override
17291729 public int hashCode () {
1730- return Arrays .hashCode (getLowerBounds ()) ^ Arrays .hashCode (getUpperBounds () );
1730+ return Arrays .hashCode (this . lowerBound ) ^ Arrays .hashCode (this . upperBound );
17311731 }
17321732
17331733 @ Override
17341734 public String toString () {
1735- if (getLowerBounds () .length == 1 ) {
1736- return "? super " + typeToString (getLowerBounds () [0 ]);
1735+ if (this . lowerBound .length == 1 ) {
1736+ return "? super " + typeToString (this . lowerBound [0 ]);
17371737 }
1738- if (getUpperBounds (). length == 0 || getUpperBounds () [0 ] == Object .class ) {
1738+ if (this . upperBound . length == 0 || this . upperBound [0 ] == Object .class ) {
17391739 return "?" ;
17401740 }
1741- return "? extends " + typeToString (getUpperBounds () [0 ]);
1741+ return "? extends " + typeToString (this . upperBound [0 ]);
17421742 }
17431743
17441744 private static String typeToString (Type type ) {
You can’t perform that action at this time.
0 commit comments