Skip to content

Commit 68f9289

Browse files
authored
Fix IBMSemeruTest to match updated ChangeType wildcard import removal (#1026)
1 parent e663e7b commit 68f9289

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void doNotUseSunNetSslInternalWwwProtocolHttpsHandler() {
4545
//language=java
4646
java(
4747
"""
48-
import com.sun.net.ssl.internal.www.protocol.https.*; //do NOT flag this
48+
import com.sun.net.ssl.internal.www.protocol.https.*;
4949
5050
class Foo{
5151
void bar() {
@@ -70,7 +70,6 @@ public static com.sun.net.ssl.internal.www.protocol.https.Handler testMethod(Han
7070
""",
7171
"""
7272
import com.ibm.net.ssl.www2.protocol.https.Handler;
73-
import com.sun.net.ssl.internal.www.protocol.https.*; //do NOT flag this
7473
7574
class Foo{
7675
void bar() {
@@ -142,7 +141,7 @@ void doNotUseSunNetSslInternalSslProvider() {
142141
//language=java
143142
java(
144143
"""
145-
import com.sun.net.ssl.internal.ssl.*; // do NOT flag, handled by other rule
144+
import com.sun.net.ssl.internal.ssl.*;
146145
147146
class TestClass_2{
148147
void bar() {
@@ -154,7 +153,6 @@ private void fdsa( Provider p1 ){} // flag
154153
""",
155154
"""
156155
import com.ibm.jsse2.IBMJSSEProvider2;
157-
import com.sun.net.ssl.internal.ssl.*; // do NOT flag, handled by other rule
158156
159157
class TestClass_2{
160158
void bar() {

0 commit comments

Comments
 (0)