Skip to content

Commit 2a8acd9

Browse files
authored
Update AtomicIntegerDemo.java
1 parent 61203ea commit 2a8acd9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

AtomicIntegerDemo.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
package main.concurrency;
2-
31
import java.util.ArrayList;
42
import java.util.List;
53
import java.util.concurrent.atomic.AtomicInteger;
@@ -23,7 +21,7 @@ public void run() {
2321
}
2422
}
2523

26-
public static void main(String args[]) throws InterruptedException {
24+
public static void main(String[] args) throws InterruptedException {
2725

2826
List<Counter> list = new ArrayList<>();
2927
for (int i = 0; i < 2; i++) {

0 commit comments

Comments
 (0)