1
0

Add final modifier to private fields.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432548 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory
2013-01-13 04:39:40 +00:00
parent 3e255fea93
commit 1807d469fe
4 changed files with 4 additions and 4 deletions

View File

@@ -109,7 +109,7 @@ public class PathableTestSuite extends TestSuite {
* The classloader that should be set as the context classloader * The classloader that should be set as the context classloader
* before each test in the suite is run. * before each test in the suite is run.
*/ */
private ClassLoader contextLoader; private final ClassLoader contextLoader;
/** /**
* Constructor. * Constructor.

View File

@@ -39,7 +39,7 @@ public class TestHandler extends Handler {
// The set of logged records for this handler // The set of logged records for this handler
private List records = new ArrayList(); private final List records = new ArrayList();
// --------------------------------------------------------- Public Methods // --------------------------------------------------------- Public Methods

View File

@@ -44,7 +44,7 @@ public class TestAppender extends AppenderSkeleton {
// The set of logged events for this appender // The set of logged events for this appender
private List events; private final List events;
// ------------------------------------------------------- Appender Methods // ------------------------------------------------------- Appender Methods

View File

@@ -30,7 +30,7 @@ import java.security.Permissions;
*/ */
public class MockSecurityManager extends SecurityManager { public class MockSecurityManager extends SecurityManager {
private Permissions permissions = new Permissions(); private final Permissions permissions = new Permissions();
private static final Permission setSecurityManagerPerm = private static final Permission setSecurityManagerPerm =
new RuntimePermission("setSecurityManager"); new RuntimePermission("setSecurityManager");