mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-04 12:13:11 +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:
1 parent
5afc32cf23
commit
4cd8149502
155 files changed
+273
-273
No files matched your search
@@ -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