summaryrefslogtreecommitdiffstats
path: root/buildhelpers
diff options
context:
space:
mode:
Diffstat (limited to 'buildhelpers')
-rw-r--r--buildhelpers/src/main/java/com/vaadin/buildhelpers/GeneratePackageExports.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildhelpers/src/main/java/com/vaadin/buildhelpers/GeneratePackageExports.java b/buildhelpers/src/main/java/com/vaadin/buildhelpers/GeneratePackageExports.java
index 0db7609f69..9717c35353 100644
--- a/buildhelpers/src/main/java/com/vaadin/buildhelpers/GeneratePackageExports.java
+++ b/buildhelpers/src/main/java/com/vaadin/buildhelpers/GeneratePackageExports.java
@@ -62,7 +62,7 @@ public class GeneratePackageExports {
}
// Accepted packages
- List<String> acceptedPackagePrefixes = new ArrayList<String>();
+ List<String> acceptedPackagePrefixes = new ArrayList<>();
for (int i = 1; i < args.length; i++) {
acceptedPackagePrefixes.add(args[i]);
}
@@ -179,7 +179,7 @@ public class GeneratePackageExports {
private static HashSet<String> getPackages(JarFile jar,
List<String> acceptedPackagePrefixes,
boolean includeNumberPackages) {
- HashSet<String> packages = new HashSet<String>();
+ HashSet<String> packages = new HashSet<>();
Pattern startsWithNumber = Pattern.compile("\\.\\d");