mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 08:58:26 +00:00
refactor: remove code smell java:S5786 (#2159)
https://sonarcloud.io/organizations/iluwatar/rules?open=java%3AS5786&rule_key=java%3AS5786
This commit is contained in:
@@ -29,7 +29,7 @@ package com.iluwatar.singleton;
|
||||
*
|
||||
* @author Jeroen Meulemeester
|
||||
*/
|
||||
public class EnumIvoryTowerTest extends SingletonTest<EnumIvoryTower> {
|
||||
class EnumIvoryTowerTest extends SingletonTest<EnumIvoryTower> {
|
||||
|
||||
/**
|
||||
* Create a new singleton test instance using the given 'getInstance' method.
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ package com.iluwatar.singleton;
|
||||
*
|
||||
* @author Jeroen Meulemeester
|
||||
*/
|
||||
public class InitializingOnDemandHolderIdiomTest
|
||||
class InitializingOnDemandHolderIdiomTest
|
||||
extends SingletonTest<InitializingOnDemandHolderIdiom> {
|
||||
|
||||
/**
|
||||
|
||||
@@ -29,7 +29,7 @@ package com.iluwatar.singleton;
|
||||
*
|
||||
* @author Jeroen Meulemeester
|
||||
*/
|
||||
public class IvoryTowerTest extends SingletonTest<IvoryTower> {
|
||||
class IvoryTowerTest extends SingletonTest<IvoryTower> {
|
||||
|
||||
/**
|
||||
* Create a new singleton test instance using the given 'getInstance' method.
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ package com.iluwatar.singleton;
|
||||
*
|
||||
* @author Jeroen Meulemeester
|
||||
*/
|
||||
public class ThreadSafeLazyLoadedIvoryTowerTest
|
||||
class ThreadSafeLazyLoadedIvoryTowerTest
|
||||
extends SingletonTest<ThreadSafeLazyLoadedIvoryTower> {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user