Enable rawtypes compilation warnings

See gh-21271
This commit is contained in:
Andy Wilkinson
2020-06-04 13:18:03 +01:00
parent 056d5f3120
commit 9636350b0b
13 changed files with 15 additions and 17 deletions

View File

@@ -159,7 +159,7 @@ public class DependencyManagementBomTransformation extends AnnotatedNodeASTTrans
}
private void updateDependencyResolutionContext(List<Map<String, String>> bomDependencies) {
URI[] uris = Grape.getInstance().resolve(null, bomDependencies.toArray(new Map[0]));
URI[] uris = Grape.getInstance().resolve(null, bomDependencies.toArray(new Map<?, ?>[0]));
DefaultModelBuilder modelBuilder = new DefaultModelBuilderFactory().newInstance();
for (URI uri : uris) {
try {