Skip to content

Commit

Permalink
fix(core): fix spotless issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kirangodishala committed Oct 21, 2024
1 parent b7e6a31 commit e2a7085
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
import org.springframework.stereotype.Component;
import org.springframework.util.CollectionUtils;
import org.springframework.util.StringUtils;
import retrofit.RetrofitError;

@Log4j2
@Component
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.times;
Expand Down Expand Up @@ -197,7 +197,7 @@ public void testGetServiceAccountsForApplication(TestParams params) {
ExtendedFiatService extendedFiatService = mock(ExtendedFiatService.class);

ServiceAccountFilterConfigProps cfgProps =
new ServiceAccountFilterConfigProps(params.enabled, params.auths );
new ServiceAccountFilterConfigProps(params.enabled, params.auths);
User user = params.username == null ? null : mock(User.class);
if (user != null) {
when(user.getUsername()).thenReturn(params.username);
Expand Down Expand Up @@ -303,17 +303,17 @@ private static class TestParams {
final String desc;

TestParams(
boolean enabled,
String username,
String application,
boolean fiatEnabled,
boolean hasResult,
boolean expectLookup,
boolean expectFallback,
boolean lookupResultEmpty,
List<Authorization> auths,
List<String> lookupResult,
String desc) {
boolean enabled,
String username,
String application,
boolean fiatEnabled,
boolean hasResult,
boolean expectLookup,
boolean expectFallback,
boolean lookupResultEmpty,
List<Authorization> auths,
List<String> lookupResult,
String desc) {
this.enabled = enabled;
this.username = username;
this.application = application;
Expand Down

0 comments on commit e2a7085

Please sign in to comment.