langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Extern.java
equal
deleted
inserted
replaced
102 Item(String packageName, String path, boolean relative) { |
102 Item(String packageName, String path, boolean relative) { |
103 this.packageName = packageName; |
103 this.packageName = packageName; |
104 this.path = path; |
104 this.path = path; |
105 this.relative = relative; |
105 this.relative = relative; |
106 if (packageToItemMap == null) { |
106 if (packageToItemMap == null) { |
107 packageToItemMap = new HashMap<String,Item>(); |
107 packageToItemMap = new HashMap<>(); |
108 } |
108 } |
109 if (!packageToItemMap.containsKey(packageName)) { // save the previous |
109 if (!packageToItemMap.containsKey(packageName)) { // save the previous |
110 packageToItemMap.put(packageName, this); // mapped location |
110 packageToItemMap.put(packageName, this); // mapped location |
111 } |
111 } |
112 } |
112 } |