Skip to content

Commit 6827b3c

Browse files
committed
KOGITO-6685 Clean up after rebase
Signed-off-by: Helber Belmiro <[email protected]>
1 parent 4e865ba commit 6827b3c

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

deployment/src/main/java/io/quarkiverse/openapi/generator/deployment/codegen/OpenApiGeneratorCodeGenBase.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
import java.io.IOException;
66
import java.nio.file.Files;
77
import java.nio.file.Path;
8-
import java.util.List;
9-
import java.util.stream.Collectors;
108
import java.util.stream.Stream;
11-
import java.util.stream.StreamSupport;
129

1310
import io.quarkiverse.openapi.generator.deployment.circuitbreaker.CircuitBreakerConfigurationParser;
1411
import io.quarkiverse.openapi.generator.deployment.wrapper.OpenApiClientGeneratorWrapper;

deployment/src/main/java/io/quarkiverse/openapi/generator/deployment/wrapper/OpenApiClientGeneratorWrapper.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
package io.quarkiverse.openapi.generator.deployment.wrapper;
22

3+
import static java.lang.Boolean.FALSE;
4+
import static java.lang.Boolean.TRUE;
5+
36
import java.io.File;
47
import java.nio.file.Path;
58
import java.util.List;
@@ -11,9 +14,6 @@
1114

1215
import io.quarkiverse.openapi.generator.deployment.SpecConfig;
1316

14-
import static java.lang.Boolean.FALSE;
15-
import static java.lang.Boolean.TRUE;
16-
1717
/**
1818
* Wrapper for the OpenAPIGen tool.
1919
* This is the same as calling the Maven plugin or the CLI.

deployment/src/test/java/io/quarkiverse/openapi/generator/deployment/wrapper/OpenApiClientGeneratorWrapperTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import static io.quarkiverse.openapi.generator.deployment.assertions.Assertions.assertThat;
44
import static java.util.Objects.requireNonNull;
5-
import static org.assertj.core.api.Assertions.assertThat;
65
import static org.junit.jupiter.api.Assertions.assertFalse;
76
import static org.junit.jupiter.api.Assertions.assertNotNull;
87
import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -13,7 +12,6 @@
1312
import java.nio.file.Path;
1413
import java.nio.file.Paths;
1514
import java.util.List;
16-
import java.util.Optional;
1715
import java.util.Map;
1816
import java.util.Objects;
1917
import java.util.Optional;
@@ -23,9 +21,6 @@
2321
import com.github.javaparser.StaticJavaParser;
2422
import com.github.javaparser.ast.CompilationUnit;
2523
import com.github.javaparser.ast.body.EnumConstantDeclaration;
26-
27-
import com.github.javaparser.StaticJavaParser;
28-
import com.github.javaparser.ast.CompilationUnit;
2924
import com.github.javaparser.ast.body.MethodDeclaration;
3025

3126
public class OpenApiClientGeneratorWrapperTest {

test-utils/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@
2020
<dependency>
2121
<groupId>com.github.javaparser</groupId>
2222
<artifactId>javaparser-core</artifactId>
23+
<scope>compile</scope>
2324
</dependency>
2425

2526
<dependency>
2627
<groupId>org.assertj</groupId>
2728
<artifactId>assertj-core</artifactId>
29+
<scope>compile</scope>
2830
</dependency>
2931
</dependencies>
3032

0 commit comments

Comments
 (0)