From 85113431087e7dafa163365c546699fe199e82de Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Fri, 14 Jan 2022 22:41:27 +0000 Subject: [PATCH] HHH-15033 Reduce visibility of JndiServiceImpl --- .../org/hibernate/engine/jndi/internal/JndiServiceImpl.java | 2 +- .../hibernate/engine/jndi/internal/JndiServiceInitiator.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jndi/internal/JndiServiceImpl.java b/hibernate-core/src/main/java/org/hibernate/engine/jndi/internal/JndiServiceImpl.java index 73190a09d6..d336338d75 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/jndi/internal/JndiServiceImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/jndi/internal/JndiServiceImpl.java @@ -31,7 +31,7 @@ import org.jboss.logging.Logger; * * @author Steve Ebersole */ -public class JndiServiceImpl implements JndiService { +final class JndiServiceImpl implements JndiService { private static final CoreMessageLogger LOG = Logger.getMessageLogger( CoreMessageLogger.class, JndiServiceImpl.class.getName() diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jndi/internal/JndiServiceInitiator.java b/hibernate-core/src/main/java/org/hibernate/engine/jndi/internal/JndiServiceInitiator.java index c6f1ab6c38..2f61408894 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/jndi/internal/JndiServiceInitiator.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/jndi/internal/JndiServiceInitiator.java @@ -17,7 +17,7 @@ import org.hibernate.service.spi.ServiceRegistryImplementor; * * @author Steve Ebersole */ -public class JndiServiceInitiator implements StandardServiceInitiator { +public final class JndiServiceInitiator implements StandardServiceInitiator { /** * Singleton access */