File tree Expand file tree Collapse file tree
dts-generator/src/main/java/com/telerik/dts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1289,16 +1289,16 @@ private boolean isPrivateGoogleApiClass(String name) {
12891289 }
12901290
12911291 private void overrideFieldComparator () {
1292- BCELComparator cmp = Field .getComparator ();
1292+ BCELComparator < Field > cmp = Field .getComparator ();
12931293
1294- Field .setComparator (new BCELComparator () {
1294+ Field .setComparator (new BCELComparator <> () {
12951295 @ Override
1296- public boolean equals (Object o , Object o1 ) {
1297- return (( Field ) o ) .getName ().equals ((( Field ) o1 ) .getName ());
1296+ public boolean equals (Field o , Field o1 ) {
1297+ return o .getName ().equals (o1 .getName ());
12981298 }
12991299
13001300 @ Override
1301- public int hashCode (Object o ) {
1301+ public int hashCode (Field o ) {
13021302 return cmp .hashCode (o );
13031303 }
13041304 });
You can’t perform that action at this time.
0 commit comments