Skip to content

Commit 1c5e0f7

Browse files
author
Steve Riesenberg
committed
Reduce visibility of mapper implementations
Polish spring-projectsgh-304
1 parent 8e9563a commit 1c5e0f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/JdbcOAuth2AuthorizationService.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ public void setAuthorizationParametersMapper(
304304
* The default {@link RowMapper} that maps the current row in
305305
* {@code java.sql.ResultSet} to {@link OAuth2Authorization}.
306306
*/
307-
public static class OAuth2AuthorizationRowMapper implements RowMapper<OAuth2Authorization> {
307+
static class OAuth2AuthorizationRowMapper implements RowMapper<OAuth2Authorization> {
308308

309309
private final RegisteredClientRepository registeredClientRepository;
310310
private final ObjectMapper objectMapper;
@@ -424,7 +424,7 @@ public final void setLobHandler(LobHandler lobHandler) {
424424
* The default {@code Function} that maps {@link OAuth2Authorization} to a
425425
* {@code List} of {@link SqlParameterValue}.
426426
*/
427-
public static class OAuth2AuthorizationParametersMapper implements Function<OAuth2Authorization, List<SqlParameterValue>> {
427+
static class OAuth2AuthorizationParametersMapper implements Function<OAuth2Authorization, List<SqlParameterValue>> {
428428

429429
private final ObjectMapper objectMapper;
430430

0 commit comments

Comments
 (0)