Skip to content

Commit e0d5ae9

Browse files
committed
Fix failing IBMSemeruTest test case due to ChangeType changes
1 parent bcee18b commit e0d5ae9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/org/openrewrite/java/migrate/IBMSemeruTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ public static com.sun.net.ssl.internal.www.protocol.https.Handler testMethod(Han
7474
7575
class Foo{
7676
void bar() {
77-
com.ibm.net.ssl.www2.protocol.https.Handler handler_1 = //flag
78-
new com.ibm.net.ssl.www2.protocol.https.Handler(); //flag
77+
Handler handler_1 = //flag
78+
new Handler(); //flag
7979
Handler handler_2 = new Handler("String", 1); //flag (2)
8080
testMethod(handler_1);
8181
testMethod(handler_2);
82-
if (handler_1 instanceof com.ibm.net.ssl.www2.protocol.https.Handler){ //flag
82+
if (handler_1 instanceof Handler){ //flag
8383
//do nothing
8484
}
8585
@@ -88,7 +88,7 @@ void bar() {
8888
}
8989
}
9090
91-
public static com.ibm.net.ssl.www2.protocol.https.Handler testMethod(Handler handler){ //flag (2)
91+
public static Handler testMethod(Handler handler){ //flag (2)
9292
return handler;
9393
}
9494
}

0 commit comments

Comments
 (0)