From b7e5106358650b86be31aadde28acf44ba74b907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Fri, 24 May 2019 11:07:47 +0200 Subject: [PATCH] HHH-13409 Remove unnecessary "public" keywords in ClassLoaderService --- .../registry/classloading/spi/ClassLoaderService.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/spi/ClassLoaderService.java b/hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/spi/ClassLoaderService.java index ba455e0108..1fcdb9c5f9 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/spi/ClassLoaderService.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/spi/ClassLoaderService.java @@ -31,7 +31,7 @@ public interface ClassLoaderService extends Service, Stoppable { * * @throws ClassLoadingException Indicates the class could not be found */ - public Class classForName(String className); + Class classForName(String className); /** * Locate a resource by name (classpath lookup). @@ -40,7 +40,7 @@ public interface ClassLoaderService extends Service, Stoppable { * * @return The located URL; may return {@code null} to indicate the resource was not found */ - public URL locateResource(String name); + URL locateResource(String name); /** * Locate a resource by name (classpath lookup) and gets its stream. @@ -49,7 +49,7 @@ public interface ClassLoaderService extends Service, Stoppable { * * @return The stream of the located resource; may return {@code null} to indicate the resource was not found */ - public InputStream locateResourceStream(String name); + InputStream locateResourceStream(String name); /** * Locate a series of resource by name (classpath lookup). @@ -58,7 +58,7 @@ public interface ClassLoaderService extends Service, Stoppable { * * @return The list of URL matching; may return {@code null} to indicate the resource was not found */ - public List locateResources(String name); + List locateResources(String name); /** * Discovers and instantiates implementations of the named service contract. @@ -71,7 +71,7 @@ public interface ClassLoaderService extends Service, Stoppable { * * @return The ordered set of discovered services. */ - public Collection loadJavaServices(Class serviceContract); + Collection loadJavaServices(Class serviceContract); T generateProxy(InvocationHandler handler, Class... interfaces);