Skip to content

Commit

Permalink
OpenAPI, Build: Apply spotless to testFixtures source code (#11024)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcweeks authored Aug 27, 2024
1 parent f88f128 commit 8e2eb9a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion baseline.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ subprojects {
pluginManager.withPlugin('com.diffplug.spotless') {
spotless {
java {
target 'src/main/java/**/*.java', 'src/test/java/**/*.java', 'src/jmh/java/**/*.java', 'src/integration/java/**/*.java'
target 'src/main/java/**/*.java', 'src/test/java/**/*.java', 'src/testFixtures/java/**/*.java', 'src/jmh/java/**/*.java', 'src/integration/java/**/*.java'
// we use an older version of google-java-format that is compatible with JDK 8
googleJavaFormat("1.7")
removeUnusedImports()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public void start(boolean join) throws Exception {
httpServer.setHandler(context);
httpServer.start();

if(join) {
if (join) {
httpServer.join();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ public class RESTServerExtension implements BeforeAllCallback, AfterAllCallback
@Override
public void beforeAll(ExtensionContext extensionContext) throws Exception {
if (Boolean.parseBoolean(
extensionContext
.getConfigurationParameter(RCKUtils.RCK_LOCAL)
.orElse("true"))) {
extensionContext.getConfigurationParameter(RCKUtils.RCK_LOCAL).orElse("true"))) {
this.localServer = new RESTCatalogServer();
this.localServer.start(false);
}
Expand Down

0 comments on commit 8e2eb9a

Please sign in to comment.