Update src/test/java/com/designpatterns/singletonpattern/SingletonTest.java
Removed println statement Co-Authored-By: Libin Yang <contact@yanglibin.info>
This commit is contained in:
parent
ea6c4e5a8a
commit
4a3f871218
@ -23,7 +23,6 @@ public class SingletonTest {
|
||||
try {
|
||||
Singleton singletonInstance = Singleton.getInstance();
|
||||
int singletonInsCode = singletonInstance.hashCode();
|
||||
System.out.println(singletonInsCode);
|
||||
hashCodeList.add(singletonInsCode);
|
||||
} catch (Exception e) {
|
||||
System.out.println("Exception is caught");
|
||||
|
Loading…
Reference in New Issue
Block a user