LOGGING-177 - Remove redundant initializer (#46)
This commit is contained in:
@@ -64,7 +64,7 @@ public class PathableClassLoader extends URLClassLoader {
|
|||||||
* Normally, only a classloader created with a null parent needs to
|
* Normally, only a classloader created with a null parent needs to
|
||||||
* have any lookasides defined.
|
* have any lookasides defined.
|
||||||
*/
|
*/
|
||||||
private HashMap lookasides = null;
|
private HashMap lookasides;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* See setParentFirst.
|
* See setParentFirst.
|
||||||
|
|||||||
@@ -67,25 +67,25 @@ public class CustomConfigTestCase extends DefaultConfigTestCase {
|
|||||||
/**
|
/**
|
||||||
* <p>The customized {@code Handler} we will be using.</p>
|
* <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>
|
* <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>
|
* <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>
|
* <p>The underlying {@code LogManager} we will be using.</p>
|
||||||
*/
|
*/
|
||||||
protected LogManager manager = null;
|
protected LogManager manager;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -63,13 +63,13 @@ public class DefaultConfigTestCase extends TestCase {
|
|||||||
/**
|
/**
|
||||||
* <p>The {@link LogFactory} implementation we have selected.</p>
|
* <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>
|
* <p>The {@link Log} implementation we have selected.</p>
|
||||||
*/
|
*/
|
||||||
protected Log log = null;
|
protected Log log;
|
||||||
|
|
||||||
|
|
||||||
// ------------------------------------------- JUnit Infrastructure Methods
|
// ------------------------------------------- JUnit Infrastructure Methods
|
||||||
|
|||||||
@@ -45,13 +45,13 @@ public class StandardTestCase extends AbstractLogTest {
|
|||||||
/**
|
/**
|
||||||
* <p>The {@link LogFactory} implementation we have selected.</p>
|
* <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>
|
* <p>The {@link Log} implementation we have selected.</p>
|
||||||
*/
|
*/
|
||||||
protected Log log = null;
|
protected Log log;
|
||||||
|
|
||||||
|
|
||||||
// ------------------------------------------- JUnit Infrastructure Methods
|
// ------------------------------------------- JUnit Infrastructure Methods
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ public class MockSecurityManager extends SecurityManager {
|
|||||||
private static final Permission setSecurityManagerPerm =
|
private static final Permission setSecurityManagerPerm =
|
||||||
new RuntimePermission("setSecurityManager");
|
new RuntimePermission("setSecurityManager");
|
||||||
|
|
||||||
private int untrustedCodeCount = 0;
|
private int untrustedCodeCount;
|
||||||
|
|
||||||
public MockSecurityManager() {
|
public MockSecurityManager() {
|
||||||
permissions.add(setSecurityManagerPerm);
|
permissions.add(setSecurityManagerPerm);
|
||||||
|
|||||||
@@ -50,13 +50,13 @@ public class DefaultConfigTestCase extends TestCase {
|
|||||||
/**
|
/**
|
||||||
* <p>The {@link LogFactory} implementation we have selected.</p>
|
* <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>
|
* <p>The {@link Log} implementation we have selected.</p>
|
||||||
*/
|
*/
|
||||||
protected Log log = null;
|
protected Log log;
|
||||||
|
|
||||||
|
|
||||||
// ------------------------------------------- JUnit Infrastructure Methods
|
// ------------------------------------------- JUnit Infrastructure Methods
|
||||||
|
|||||||
Reference in New Issue
Block a user