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:
Abhijay Kumar 2019-05-15 13:31:07 +05:30 committed by GitHub
parent ea6c4e5a8a
commit 4a3f871218
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");