File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
modernizer-maven-plugin/src/main/resources Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ violation names use the same format that javap emits.
146146 <violation >
147147 <name >com/google/common/collect/Maps.newHashMapWithExpectedSize:(I)Ljava/util/HashMap;</name >
148148 <version >19</version >
149- <comment >Prefer java.util.HashMap<> (int)</comment >
149+ <comment >Prefer java.util.HashMap. <> newHashMap (int)</comment >
150150 </violation >
151151
152152 <violation >
@@ -164,7 +164,7 @@ violation names use the same format that javap emits.
164164 <violation >
165165 <name >com/google/common/collect/Maps.newLinkedHashMapWithExpectedSize:(I)Ljava/util/LinkedHashMap;</name >
166166 <version >19</version >
167- <comment >Prefer java.util.LinkedHashMap.newLinkedHashMap <> (int)</comment >
167+ <comment >Prefer java.util.LinkedHashMap.<> newLinkedHashMap (int)</comment >
168168 </violation >
169169
170170 <violation >
@@ -218,7 +218,7 @@ violation names use the same format that javap emits.
218218 <violation >
219219 <name >com/google/common/collect/Sets.newHashSetWithExpectedSize:(I)Ljava/util/HashSet;</name >
220220 <version >19</version >
221- <comment >Prefer java.util.HashSet<> (int)</comment >
221+ <comment >Prefer java.util.HashSet. <> newHashSet (int)</comment >
222222 </violation >
223223
224224 <violation >
@@ -230,7 +230,7 @@ violation names use the same format that javap emits.
230230 <violation >
231231 <name >com/google/common/collect/Sets.newLinkedHashSetWithExpectedSize:(I)Ljava/util/LinkedHashSet;</name >
232232 <version >19</version >
233- <comment >Prefer java.util.LinkedHashSet.newLinkedHashSet <> (int)</comment >
233+ <comment >Prefer java.util.LinkedHashSet.<> newLinkedHashSet (int)</comment >
234234 </violation >
235235
236236 <violation >
You can’t perform that action at this time.
0 commit comments