From: Roland Haeder Date: Mon, 7 Mar 2016 20:49:38 +0000 (+0100) Subject: fixed warning about invalid injection point, variable must be named "injectionPoint... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=80e386f869701535b8d4ccf7b7b61877ea6000d6;p=jcore-logger-ejb.git fixed warning about invalid injection point, variable must be named "injectionPoint", not "caller" --- diff --git a/nbproject/genfiles.properties b/nbproject/genfiles.properties index f4dc545..c1aaa25 100644 --- a/nbproject/genfiles.properties +++ b/nbproject/genfiles.properties @@ -5,4 +5,4 @@ build.xml.stylesheet.CRC32=5910fda3@1.51.1 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. nbproject/build-impl.xml.data.CRC32=22b87e48 nbproject/build-impl.xml.script.CRC32=3a74a7eb -nbproject/build-impl.xml.stylesheet.CRC32=6096d939@1.51.1 +nbproject/build-impl.xml.stylesheet.CRC32=6096d939@1.55.1 diff --git a/src/java/org/mxchange/jcoreeelogger/beans/local/logger/LoggerFactory.java b/src/java/org/mxchange/jcoreeelogger/beans/local/logger/LoggerFactory.java index 3c51037..85693ca 100644 --- a/src/java/org/mxchange/jcoreeelogger/beans/local/logger/LoggerFactory.java +++ b/src/java/org/mxchange/jcoreeelogger/beans/local/logger/LoggerFactory.java @@ -44,14 +44,14 @@ public class LoggerFactory { /** * Produces a logger instance *

- * @param caller Injection point + * @param injectionPoint Injection point *

* @return Logger */ @Produces @Log - public Logger getLogger (final InjectionPoint caller) { - this.logger.trace(MessageFormat.format("caller={0} - CALLED!", caller)); - return LogManager.getLogger(caller.getMember().getDeclaringClass().getName()); + public Logger getLogger (final InjectionPoint injectionPoint) { + this.logger.trace(MessageFormat.format("injectionPoint={0} - CALLED!", injectionPoint)); + return LogManager.getLogger(injectionPoint.getMember().getDeclaringClass().getName()); } }