Skip to content

Commit

Permalink
Remove duplicated Logger on the same category
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/wicket/trunk@1206226 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
martin-g committed Nov 25, 2011
1 parent 85a5c15 commit 57d11ef
Showing 1 changed file with 4 additions and 5 deletions.
Expand Up @@ -64,7 +64,9 @@
*/
public final class SerializableChecker extends ObjectOutputStream
{
private static final Logger logger = LoggerFactory.getLogger(SerializableChecker.class);

/** log. */
private static final Logger log = LoggerFactory.getLogger(SerializableChecker.class);

/**
* Exception that is thrown when a non-serializable object was found.
Expand Down Expand Up @@ -217,9 +219,6 @@ public String toString()

private static final NoopOutputStream DUMMY_OUTPUT_STREAM = new NoopOutputStream();

/** log. */
private static final Logger log = LoggerFactory.getLogger(SerializableChecker.class);

/** Whether we can execute the tests. If false, check will just return. */
private static boolean available = true;

Expand Down Expand Up @@ -278,7 +277,7 @@ public String toString()
}
catch (Exception e)
{
logger.warn("SerializableChecker not available", e);
log.warn("SerializableChecker not available", e);
available = false;
}
}
Expand Down

0 comments on commit 57d11ef

Please sign in to comment.