From 80e386f869701535b8d4ccf7b7b61877ea6000d6 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 7 Mar 2016 21:49:38 +0100 Subject: [PATCH] fixed warning about invalid injection point, variable must be named "injectionPoint", not "caller" --- nbproject/genfiles.properties | 2 +- .../jcoreeelogger/beans/local/logger/LoggerFactory.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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()); } } -- 2.39.5