mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
"public static" fields should be constant
This commit is contained in:
@@ -10,7 +10,7 @@ public class CacheOptions {
|
||||
/**
|
||||
* Instance when no caching is used.
|
||||
*/
|
||||
public static CacheOptions NO_CACHING = new CacheOptions();
|
||||
public static final CacheOptions NO_CACHING = new CacheOptions();
|
||||
|
||||
private final boolean enableBeanCache;
|
||||
private final boolean enableQueryCache;
|
||||
|
||||
@@ -10,7 +10,7 @@ import java.util.UUID;
|
||||
*/
|
||||
public class UuidIdGenerator implements PlatformIdGenerator {
|
||||
|
||||
public static UuidIdGenerator INSTANCE = new UuidIdGenerator();
|
||||
public static final UuidIdGenerator INSTANCE = new UuidIdGenerator();
|
||||
|
||||
/**
|
||||
* Return UUID from UUID.randomUUID();
|
||||
|
||||
Reference in New Issue
Block a user