Skip to content

Commit 3c615de

Browse files
add Demo suffix to avoid naming conflict
1 parent 86d96ba commit 3c615de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/java_collections/HashMap.java renamed to src/main/java/java_collections/HashMapDemo.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
import java.util.Map;
44

5-
public class HashMap {
5+
public class HashMapDemo {
66
private static final int NUMBER_OF_MAP_ENTRIES = 2;
77

88
public static void main(String... args) {
99
System.out.println("Program started.");
10-
HashMap hashMap = new HashMap();
11-
hashMap.understandHashMapInternalWorkings();
10+
HashMapDemo hashMapDemo = new HashMapDemo();
11+
hashMapDemo.understandHashMapInternalWorkings();
1212
System.out.println("Program finished.");
1313
}
1414

0 commit comments

Comments
 (0)