From 4aef814e5ba8adbc366a9ce9058610c3de878576 Mon Sep 17 00:00:00 2001 From: Yanming Zhou Date: Thu, 24 Oct 2024 08:57:23 +0800 Subject: [PATCH 1/2] Polish ConstraintMode Replace tab with spaces for consistency --- api/src/main/java/jakarta/persistence/ConstraintMode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/main/java/jakarta/persistence/ConstraintMode.java b/api/src/main/java/jakarta/persistence/ConstraintMode.java index 4a1224fc..285cd223 100644 --- a/api/src/main/java/jakarta/persistence/ConstraintMode.java +++ b/api/src/main/java/jakarta/persistence/ConstraintMode.java @@ -23,10 +23,10 @@ public enum ConstraintMode { /** Apply the constraint. */ - CONSTRAINT, + CONSTRAINT, /** Do not apply the constraint. */ - NO_CONSTRAINT, + NO_CONSTRAINT, /** Use the provider-defined default behavior. */ PROVIDER_DEFAULT From f03fc66fc6ba7d9fa5e28445b781918f2a8c313c Mon Sep 17 00:00:00 2001 From: Yanming Zhou Date: Thu, 14 Nov 2024 15:16:46 +0800 Subject: [PATCH 2/2] Close curly brace should be on new line --- api/src/main/java/jakarta/persistence/MapsId.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/src/main/java/jakarta/persistence/MapsId.java b/api/src/main/java/jakarta/persistence/MapsId.java index b81bdda1..4986e675 100644 --- a/api/src/main/java/jakarta/persistence/MapsId.java +++ b/api/src/main/java/jakarta/persistence/MapsId.java @@ -85,4 +85,5 @@ * not explicitly specified, the relationship maps the primary * key of the entity. */ - String value() default ""; } + String value() default ""; +}