From 406974089b62acc9f866f424c370103a92aa481b Mon Sep 17 00:00:00 2001 From: Jan Schatteman Date: Tue, 16 Feb 2021 18:02:55 +0100 Subject: [PATCH] Spelling correction in @Jpa Signed-off-by: Jan Schatteman --- .../testing/orm/junit/EntityManagerFactoryExtension.java | 6 +++--- .../src/main/java/org/hibernate/testing/orm/junit/Jpa.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/EntityManagerFactoryExtension.java b/hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/EntityManagerFactoryExtension.java index f2e6ae11c1..3461882825 100644 --- a/hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/EntityManagerFactoryExtension.java +++ b/hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/EntityManagerFactoryExtension.java @@ -157,9 +157,9 @@ public class EntityManagerFactoryExtension integrationSettings.put( setting.name(), setting.value() ); } - if ( emfAnn.nonStringValueSettingProvider().length > 0 ) { - for ( int i = 0; i < emfAnn.nonStringValueSettingProvider().length; i++ ) { - final Class _class = emfAnn.nonStringValueSettingProvider()[ i ]; + if ( emfAnn.nonStringValueSettingProviders().length > 0 ) { + for ( int i = 0; i < emfAnn.nonStringValueSettingProviders().length; i++ ) { + final Class _class = emfAnn.nonStringValueSettingProviders()[ i ]; try { NonStringValueSettingProvider valueProvider = _class.newInstance(); integrationSettings.put( valueProvider.getKey(), valueProvider.getValue() ); diff --git a/hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/Jpa.java b/hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/Jpa.java index 7dc5efa9c5..125aafd77d 100644 --- a/hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/Jpa.java +++ b/hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/Jpa.java @@ -44,7 +44,7 @@ public @interface Jpa { */ Setting[] integrationSettings() default {}; - Class[] nonStringValueSettingProvider() default {}; + Class[] nonStringValueSettingProviders() default {}; String persistenceUnitName() default "test-pu";