Skip to content

Commit 4a3f871

Browse files
abhijay94yanglbme
andauthored
Update src/test/java/com/designpatterns/singletonpattern/SingletonTest.java
Removed println statement Co-Authored-By: Libin Yang <[email protected]>
1 parent ea6c4e5 commit 4a3f871

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/test/java/com/designpatterns/singletonpattern/SingletonTest.java

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ public void testSingleton() throws InterruptedException {
2323
try {
2424
Singleton singletonInstance = Singleton.getInstance();
2525
int singletonInsCode = singletonInstance.hashCode();
26-
System.out.println(singletonInsCode);
2726
hashCodeList.add(singletonInsCode);
2827
} catch (Exception e) {
2928
System.out.println("Exception is caught");

0 commit comments

Comments
 (0)