"public static" fields should be constant

This commit is contained in:
Artyom Melnikov committed 2016-06-14 14:18:18 +03:00
1 parent a64a020e36
commit 066effa5bf
5 files changed
+7 -7

No files matched your search

@@ -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();