Skip to content

Commit a60f86d

Browse files
committed
remove sysout
1 parent f79236b commit a60f86d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎core-java-concurrency/src/test/java/com/baeldung/concurrent/volatilekeyword/SharedObjectManualTest.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ public void whenOneThreadWrites_thenVolatileReadsFromMainMemory() throws Interru
1313
Thread writer = new Thread(() -> sharedObject.increamentCount());
1414
writer.start();
1515
Thread.sleep(100);
16-
System.out.println(sharedObject.getCount());
1716

1817
Thread readerOne = new Thread(() -> {
1918
int valueReadByThread2 = sharedObject.getCount();

0 commit comments

Comments
 (0)