1
0

LOGGING-177 - Remove redundant initializer (#46)

This commit is contained in:
Arturo Bernal
2022-01-04 13:54:30 +01:00
committed by GitHub
parent c0ad013f54
commit ddda30a482
6 changed files with 12 additions and 12 deletions

View File

@@ -64,7 +64,7 @@ public class PathableClassLoader extends URLClassLoader {
* Normally, only a classloader created with a null parent needs to
* have any lookasides defined.
*/
private HashMap lookasides = null;
private HashMap lookasides;
/**
* See setParentFirst.

View File

@@ -67,25 +67,25 @@ public class CustomConfigTestCase extends DefaultConfigTestCase {
/**
* <p>The customized {@code Handler} we will be using.</p>
*/
protected TestHandler handler = null;
protected TestHandler handler;
/**
* <p>The underlying {@code Handler}s we will be using.</p>
*/
protected Handler handlers[] = null;
protected Handler handlers[];
/**
* <p>The underlying {@code Logger} we will be using.</p>
*/
protected Logger logger = null;
protected Logger logger;
/**
* <p>The underlying {@code LogManager} we will be using.</p>
*/
protected LogManager manager = null;
protected LogManager manager;
/**

View File

@@ -63,13 +63,13 @@ public class DefaultConfigTestCase extends TestCase {
/**
* <p>The {@link LogFactory} implementation we have selected.</p>
*/
protected LogFactory factory = null;
protected LogFactory factory;
/**
* <p>The {@link Log} implementation we have selected.</p>
*/
protected Log log = null;
protected Log log;
// ------------------------------------------- JUnit Infrastructure Methods

View File

@@ -45,13 +45,13 @@ public class StandardTestCase extends AbstractLogTest {
/**
* <p>The {@link LogFactory} implementation we have selected.</p>
*/
protected LogFactory factory = null;
protected LogFactory factory;
/**
* <p>The {@link Log} implementation we have selected.</p>
*/
protected Log log = null;
protected Log log;
// ------------------------------------------- JUnit Infrastructure Methods

View File

@@ -32,7 +32,7 @@ public class MockSecurityManager extends SecurityManager {
private static final Permission setSecurityManagerPerm =
new RuntimePermission("setSecurityManager");
private int untrustedCodeCount = 0;
private int untrustedCodeCount;
public MockSecurityManager() {
permissions.add(setSecurityManagerPerm);

View File

@@ -50,13 +50,13 @@ public class DefaultConfigTestCase extends TestCase {
/**
* <p>The {@link LogFactory} implementation we have selected.</p>
*/
protected LogFactory factory = null;
protected LogFactory factory;
/**
* <p>The {@link Log} implementation we have selected.</p>
*/
protected Log log = null;
protected Log log;
// ------------------------------------------- JUnit Infrastructure Methods