"public static" fields should be constant

This commit is contained in:
Artyom Melnikov
2016-06-14 14:18:18 +03:00
parent a64a020e36
commit 066effa5bf
5 changed files with 7 additions and 7 deletions
@@ -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();