Skip to content

Commit 3085bf2

Browse files
committed
whitespace
1 parent b03057d commit 3085bf2

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

server/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ spotless {
6060
task createKeys(type: JavaExec) {
6161
main = 'dev.findfirst.security.util.KeyGenerator' // Replace with the fully qualified class name of your utility
6262
classpath = sourceSets.main.runtimeClasspath
63-
executable = javaToolchains.launcherFor(java.toolchain).get().executablePath
63+
executable = javaToolchains.launcherFor(java.toolchain).get().executablePath
6464
}
6565

6666
tasks.named("build") {

server/src/main/java/dev/findfirst/security/conditions/OAuthClientsCondition.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ public boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata)
3131
});
3232

3333
var registrations = clients.values().stream()
34-
.filter(cp -> !cp.clientId().isBlank() && !cp.clientSecret().isBlank())
35-
.toList();
34+
.filter(cp -> !cp.clientId().isBlank() && !cp.clientSecret().isBlank()).toList();
3635
return !properties.isEmpty() && !registrations.isEmpty();
3736

3837
}
@@ -62,7 +61,6 @@ private void setSecretToPair(String clientName, String propVal) {
6261
}
6362
}
6463

65-
record ClientPair(String clientId, String clientSecret) {
66-
};
64+
record ClientPair(String clientId, String clientSecret) {};
6765

6866
}

0 commit comments

Comments
 (0)