aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/util/CommonsLogger.java
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2016-08-04 14:23:54 +0000
committerNick Burch <nick@apache.org>2016-08-04 14:23:54 +0000
commit5b4f46e180e99d1e570451b8da59d8614f127aa3 (patch)
tree994793be285b94b101a3ce2f1b9acee65b47dd94 /src/java/org/apache/poi/util/CommonsLogger.java
parenta57e5b7b932b6f26149c89764bbb39041ea943e5 (diff)
downloadpoi-5b4f46e180e99d1e570451b8da59d8614f127aa3.tar.gz
poi-5b4f46e180e99d1e570451b8da59d8614f127aa3.zip
Whitespace, javadocs and @Overrides for the Logger classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1755192 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/util/CommonsLogger.java')
-rw-r--r--src/java/org/apache/poi/util/CommonsLogger.java12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/java/org/apache/poi/util/CommonsLogger.java b/src/java/org/apache/poi/util/CommonsLogger.java
index 16a48f28f6..1cbb9628ca 100644
--- a/src/java/org/apache/poi/util/CommonsLogger.java
+++ b/src/java/org/apache/poi/util/CommonsLogger.java
@@ -27,19 +27,13 @@ import org.apache.commons.logging.LogFactory;
* developers to write log calls, while simultaneously making those
* calls as cheap as possible by performing lazy evaluation of the log
* message.<p>
- *
- * @author Marc Johnson (mjohnson at apache dot org)
- * @author Glen Stampoultzis (glens at apache.org)
- * @author Nicola Ken Barozzi (nicolaken at apache.org)
*/
-
public class CommonsLogger extends POILogger
{
-
private static LogFactory _creator = LogFactory.getFactory();
private Log log = null;
-
+ @Override
public void initialize(final String cat)
{
this.log = _creator.getInstance(cat);
@@ -51,6 +45,7 @@ public class CommonsLogger extends POILogger
* @param level One of DEBUG, INFO, WARN, ERROR, FATAL
* @param obj1 The object to log.
*/
+ @Override
public void log(final int level, final Object obj1)
{
if(level==FATAL)
@@ -104,6 +99,7 @@ public class CommonsLogger extends POILogger
* @param obj1 The object to log. This is converted to a string.
* @param exception An exception to be logged
*/
+ @Override
public void log(final int level, final Object obj1,
final Throwable exception)
{
@@ -175,7 +171,7 @@ public class CommonsLogger extends POILogger
*
* @param level One of DEBUG, INFO, WARN, ERROR, FATAL
*/
-
+ @Override
public boolean check(final int level)
{
if(level==FATAL)