Spelling correction in @Jpa

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
This commit is contained in:
Jan Schatteman 2021-02-16 18:02:55 +01:00 committed by Jan Schatteman
parent b15e7506cc
commit 406974089b
2 changed files with 4 additions and 4 deletions

View File

@ -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<? extends NonStringValueSettingProvider> _class = emfAnn.nonStringValueSettingProvider()[ i ];
if ( emfAnn.nonStringValueSettingProviders().length > 0 ) {
for ( int i = 0; i < emfAnn.nonStringValueSettingProviders().length; i++ ) {
final Class<? extends NonStringValueSettingProvider> _class = emfAnn.nonStringValueSettingProviders()[ i ];
try {
NonStringValueSettingProvider valueProvider = _class.newInstance();
integrationSettings.put( valueProvider.getKey(), valueProvider.getValue() );

View File

@ -44,7 +44,7 @@ public @interface Jpa {
*/
Setting[] integrationSettings() default {};
Class<? extends NonStringValueSettingProvider>[] nonStringValueSettingProvider() default {};
Class<? extends NonStringValueSettingProvider>[] nonStringValueSettingProviders() default {};
String persistenceUnitName() default "test-pu";