]> git.mxchange.org Git - jcore-logger-ejb.git/commitdiff
Some cosmetics
authorRoland Haeder <roland@mxchange.org>
Tue, 8 Sep 2015 21:45:56 +0000 (23:45 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 8 Sep 2015 21:45:56 +0000 (23:45 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/java/org/mxchange/jcoreeelogger/LoggerFactory.java
src/java/org/mxchange/jcoreeelogger/beans/local/logger/LoggerBean.java

index 934de2a7161acd0eed514bb408298b5f9b11c009..a50873fc78f75abb3584b408ffd690db931bb098 100644 (file)
@@ -36,7 +36,7 @@ public class LoggerFactory {
        }
 
        @Produces
-       Logger getLogger (final InjectionPoint caller) {
+       public Logger getLogger (final InjectionPoint caller) {
                return LogManager.getLogger(caller.getMember().getDeclaringClass().getName());
        }
 }
index ad643149c1479da8dd95e4a1133149f62234d755..2ca017d733ea0692f0a1f3fce2a03518764b6a8e 100644 (file)
@@ -37,13 +37,13 @@ public class LoggerBean implements LoggerBeanLocal {
        private Logger logger;
 
        @Override
-       public void logDebug (String message) {
+       public void logDebug (final String message) {
                // Deligate to logger
                this.getLogger().debug(message);
        }
 
        @Override
-       public void logDebug (String message, Throwable cause) {
+       public void logDebug (final String message, final Throwable cause) {
                // Deligate to logger
                this.getLogger().debug(message, cause);
        }