mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Tidy ebean-test internals, final classes and whitespace
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user