From 90238b805cce00d03a0710c9f3f5f405376247bd Mon Sep 17 00:00:00 2001 From: ribeaudc <ribeaudc> Date: Tue, 29 May 2007 06:37:07 +0000 Subject: [PATCH] 1/ Private constructor added. 2/ Class made final. SVN: 214 --- .../java/ch/systemsx/cisd/common/logging/LogFactory.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/common/source/java/ch/systemsx/cisd/common/logging/LogFactory.java b/common/source/java/ch/systemsx/cisd/common/logging/LogFactory.java index a402061fa79..9308871be21 100644 --- a/common/source/java/ch/systemsx/cisd/common/logging/LogFactory.java +++ b/common/source/java/ch/systemsx/cisd/common/logging/LogFactory.java @@ -23,9 +23,13 @@ import org.apache.log4j.Logger; * * @author Bernd Rinn */ -public class LogFactory +public final class LogFactory { - + + private LogFactory() { + // Can not be instantiated. + } + /** * @return The logger name for the given {@link LogCategory} and {@link Class}. It will contain the name of the * <var>category</var>, followed by the canonical name of <var>clazz</var>. -- GitLab