You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/java/com/azure/spring/migration/openrewrite/java/search/FindMethodsTest.java
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ public final class FindMethodsTest implements RewriteTest {
26
26
@Test
27
27
voidtestFindMethods() {
28
28
rewriteRun(
29
-
spec -> spec.recipe(newFindMethods("java.io.File *(..)",true,null,"TODO ASA-FileStorageApi: need configuration to use storage")),
29
+
spec -> spec.recipe(newFindMethods("java.io.File *(..)",true, "TODO ASA-FileStorageApi: need configuration to use storage")),
30
30
java(
31
31
"""
32
32
import java.io.File;
@@ -50,7 +50,7 @@ public void test(){
50
50
);
51
51
52
52
rewriteRun(
53
-
spec -> spec.recipe(newFindMethods("java.lang.System getenv(..)",true,null,"TODO ASA-JavaSystemConfig: need environment configuration in azure spring apps")),
53
+
spec -> spec.recipe(newFindMethods("java.lang.System getenv(..)",true, "TODO ASA-JavaSystemConfig: need environment configuration in azure spring apps")),
54
54
java(
55
55
"""
56
56
public class LocalEnv {
@@ -70,7 +70,7 @@ public void test(){
70
70
);
71
71
72
72
rewriteRun(
73
-
spec -> spec.recipe(newFindMethods("java.lang.System getProperty(..)",true,null,"TODO ASA-JavaSystemConfig: need environment configuration in azure spring apps")),
73
+
spec -> spec.recipe(newFindMethods("java.lang.System getProperty(..)",true, "TODO ASA-JavaSystemConfig: need environment configuration in azure spring apps")),
74
74
java(
75
75
"""
76
76
public class LocalProperty {
@@ -90,7 +90,7 @@ public void test(){
90
90
);
91
91
92
92
rewriteRun(
93
-
spec -> spec.recipe(newFindMethods("java.lang.System setProperties(..)",true,null,"TODO ASA-JavaSystemConfig: need environment configuration in azure spring apps")),
93
+
spec -> spec.recipe(newFindMethods("java.lang.System setProperties(..)",true, "TODO ASA-JavaSystemConfig: need environment configuration in azure spring apps")),
94
94
java(
95
95
"""
96
96
public class LocalProperty {
@@ -110,7 +110,7 @@ public void test(java.util.Properties p){
110
110
);
111
111
112
112
rewriteRun(
113
-
spec -> spec.recipe(newFindMethods("java.lang.System setProperty(..)",true,null,"TODO ASA-JavaSystemConfig: need environment configuration in azure spring apps")),
113
+
spec -> spec.recipe(newFindMethods("java.lang.System setProperty(..)",true, "TODO ASA-JavaSystemConfig: need environment configuration in azure spring apps")),
114
114
java(
115
115
"""
116
116
public class LocalProperty {
@@ -130,7 +130,7 @@ public void test(String key, String value){
130
130
);
131
131
132
132
rewriteRun(
133
-
spec -> spec.recipe(newFindMethods("java.lang.System loadLibrary(..)",true,null,"TODO ASA-JavaSystemLoad: need to mount your own storage and upload your binary code")),
133
+
spec -> spec.recipe(newFindMethods("java.lang.System loadLibrary(..)",true, "TODO ASA-JavaSystemLoad: need to mount your own storage and upload your binary code")),
134
134
java(
135
135
"""
136
136
public class LocalNative {
@@ -152,7 +152,7 @@ public void test(){
152
152
);
153
153
154
154
rewriteRun(
155
-
spec -> spec.recipe(newFindMethods("java.lang.System load(..)",true,null,"TODO ASA-JavaSystemLoad: need to mount your own storage and upload your binary code")),
155
+
spec -> spec.recipe(newFindMethods("java.lang.System load(..)",true, "TODO ASA-JavaSystemLoad: need to mount your own storage and upload your binary code")),
0 commit comments