File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
spring-cloud-contract-verifier
src/test/groovy/org/springframework/cloud/contract/verifier/util Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 252252 <groupId >org.eclipse.jetty.ee10</groupId >
253253 <scope >test</scope >
254254 </dependency >
255- <dependency >
256- <artifactId >jetty-ee10-servlet</artifactId >
257- <groupId >org.eclipse.jetty.ee10</groupId >
258- <scope >test</scope >
259- </dependency >
260255 <dependency >
261256 <artifactId >jetty-ee10-servlets</artifactId >
262257 <groupId >org.eclipse.jetty.ee10</groupId >
Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ private void test(String test) {
170170 private static String updatedTest (String test , String className ) {
171171 test. replaceAll(" class FooTest" , " class " + className)
172172 .replaceAll(" import javax.ws.rs.core.Response" , " import javax.ws.rs.core.Response; import javax.ws.rs.client.WebTarget;" )
173+ .replaceAll(" ;;" , " ;" )
173174 }
174175
175176 private static GString getStaticImports (String builderName ) {
@@ -184,6 +185,7 @@ private void test(String test) {
184185 String fqnClassName = " com.example.${ className} "
185186 test = test. replaceAll(" class FooTest" , " class " + className)
186187 .replaceAll(" import javax.ws.rs.core.Response" , " import javax.ws.rs.core.Response; import javax.ws.rs.client.WebTarget;" )
188+ .replaceAll(" ;;" , " ;" )
187189 return compileJava(fqnClassName, test)
188190
189191 }
@@ -200,7 +202,7 @@ private void test(String test) {
200202 new StringWriter (),
201203 fileManager,
202204 diagnostics,
203- null ,
205+ List . of( " -Xlint:-options " ) ,
204206 null ,
205207 Collections . singletonList(javaFile)
206208 )
You can’t perform that action at this time.
0 commit comments