diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/GroupsPerOperation.java b/hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/GroupsPerOperation.java index eb359d57d6..525bc86b58 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/GroupsPerOperation.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/GroupsPerOperation.java @@ -101,8 +101,8 @@ public class GroupsPerOperation { DDL("ddl", HIBERNATE_GROUP_PREFIX + "ddl"); - private String exposedName; - private String groupPropertyName; + private final String exposedName; + private final String groupPropertyName; Operation(String exposedName, String groupProperty) { this.exposedName = exposedName; diff --git a/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/LiteralProcessor.java b/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/LiteralProcessor.java index 480a653aba..b4400dab6c 100644 --- a/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/LiteralProcessor.java +++ b/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/LiteralProcessor.java @@ -49,7 +49,7 @@ public class LiteralProcessor implements HqlSqlTokenTypes { /** * In what format should Float and Double literal values be sent to the database? */ - public static DecimalLiteralFormat DECIMAL_LITERAL_FORMAT = DecimalLiteralFormat.EXACT; + public final static DecimalLiteralFormat DECIMAL_LITERAL_FORMAT = DecimalLiteralFormat.EXACT; private HqlSqlWalker walker;