Skip to content

Commit ecfad85

Browse files
committed
Formatted
Signed-off-by: Risto Virtanen <[email protected]>
1 parent 52d931c commit ecfad85

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

oauth2/oauth2-client/src/test/java/org/springframework/security/oauth2/client/jackson2/StdConvertersTest.java

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131

3232
public class StdConvertersTest {
3333

34-
private final StdConverter<JsonNode, ClientAuthenticationMethod> clientAuthenticationMethodConverter =
35-
new StdConverters.ClientAuthenticationMethodConverter();
34+
private final StdConverter<JsonNode, ClientAuthenticationMethod> clientAuthenticationMethodConverter = new StdConverters.ClientAuthenticationMethodConverter();
3635

3736
@ParameterizedTest
3837
@MethodSource("testClientAuthenticationMethodConverting")
@@ -45,12 +44,10 @@ void testClientAuthenticationMethodConverting(String clientAuthenticationMethod)
4544
}
4645

4746
static Stream<Arguments> testClientAuthenticationMethodConverting() {
48-
return Stream.of(
49-
Arguments.of(ClientAuthenticationMethod.CLIENT_SECRET_BASIC.getValue()),
47+
return Stream.of(Arguments.of(ClientAuthenticationMethod.CLIENT_SECRET_BASIC.getValue()),
5048
Arguments.of(ClientAuthenticationMethod.CLIENT_SECRET_POST.getValue()),
5149
Arguments.of(ClientAuthenticationMethod.PRIVATE_KEY_JWT.getValue()),
52-
Arguments.of(ClientAuthenticationMethod.NONE.getValue()),
53-
Arguments.of("custom_method")
54-
);
50+
Arguments.of(ClientAuthenticationMethod.NONE.getValue()), Arguments.of("custom_method"));
5551
}
52+
5653
}

0 commit comments

Comments
 (0)