Tidy ebean-test internals, final classes and whitespace

This commit is contained in:
rob
2023-02-14 19:41:45 +13:00
parent 2d78c5c5e8
commit 1f0191b9e4
5 changed files with 4 additions and 6 deletions
@@ -2,7 +2,7 @@ package io.ebean.test.config.provider;
import io.ebean.config.EncryptKey;
class FixedEncryptKey implements EncryptKey {
final class FixedEncryptKey implements EncryptKey {
private final String key;
@@ -15,5 +15,4 @@ class FixedEncryptKey implements EncryptKey {
return key;
}
}
@@ -3,7 +3,7 @@ package io.ebean.test.config.provider;
import io.ebean.config.EncryptKey;
import io.ebean.config.EncryptKeyManager;
class FixedEncryptKeyManager implements EncryptKeyManager {
final class FixedEncryptKeyManager implements EncryptKeyManager {
private final FixedEncryptKey key;
@@ -27,7 +27,6 @@ public class ProviderAutoConfig {
}
public void run() {
int providerSetFlag = 0;
CurrentUserProvider provider = config.getCurrentUserProvider();
@@ -3,7 +3,7 @@ package io.ebean.test.config.provider;
import io.ebean.config.CurrentTenantProvider;
import io.ebean.test.UserContext;
class WhoTenantProvider implements CurrentTenantProvider{
final class WhoTenantProvider implements CurrentTenantProvider {
@Override
public Object currentId() {
@@ -3,7 +3,7 @@ package io.ebean.test.config.provider;
import io.ebean.config.CurrentUserProvider;
import io.ebean.test.UserContext;
class WhoUserProvider implements CurrentUserProvider {
final class WhoUserProvider implements CurrentUserProvider {
@Override
public Object currentUser() {