Skip to content
Permalink
Browse files
Maker some test classes static.
  • Loading branch information
garydgregory committed May 15, 2022
1 parent 94711d6 commit 4bafe3cfbf3ad675b25226a5a412b569e21273c9
Showing 4 changed files with 4 additions and 4 deletions.
@@ -42,7 +42,7 @@
public class TestDefaultImmutableConfiguration {

/** Tests default methods. This class MUST NOT override the default methods! */
private class MapImmutableConfiguration implements ImmutableConfiguration {
private static class MapImmutableConfiguration implements ImmutableConfiguration {

Map<String, Object> map = new HashMap<>();

@@ -99,7 +99,7 @@ public void shutdown() {
}

}
private class ReloadThread extends Thread {
private static class ReloadThread extends Thread {
private final CombinedConfigurationBuilder builder;
private final int[] failures;
private final int index;
@@ -74,7 +74,7 @@ public class TestXMLConfiguration {
/**
* A thread used for testing concurrent access to a builder.
*/
private class ReloadThread extends Thread {
private static class ReloadThread extends Thread {
private final FileBasedConfigurationBuilder<?> builder;

ReloadThread(final FileBasedConfigurationBuilder<?> confBulder) {
@@ -33,7 +33,7 @@
*
*/
public class TestServletFilterConfiguration extends TestAbstractConfiguration {
private class MockFilterConfig implements FilterConfig {
private static class MockFilterConfig implements FilterConfig {
private final Properties parameters = new Properties();

@Override

0 comments on commit 4bafe3c

Please sign in to comment.