From 8dda0616f5ec878fc8848ef118870901b50f5bc4 Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Sat, 10 Oct 2020 21:25:55 +0100 Subject: [PATCH] HHH-10715 A couple of missing final keywords --- .../org/hibernate/cfg/beanvalidation/GroupsPerOperation.java | 4 ++-- .../org/hibernate/hql/internal/ast/util/LiteralProcessor.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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;