diff options
author | Artur Signell <artur@vaadin.com> | 2016-09-05 12:33:39 +0300 |
---|---|---|
committer | Johannes Dahlström <johannesd@vaadin.com> | 2016-09-05 10:02:48 +0000 |
commit | 504b3c4c65c6a2ccfeeb1501eff7a29f5a3dbec3 (patch) | |
tree | e65c1813439a25bbab6c81e71c27ba8ccf69970b /buildhelpers | |
parent | 6941d683eb15a8ae10e0d302bcf9608be8825f8a (diff) | |
download | vaadin-framework-504b3c4c65c6a2ccfeeb1501eff7a29f5a3dbec3.tar.gz vaadin-framework-504b3c4c65c6a2ccfeeb1501eff7a29f5a3dbec3.zip |
Use diamond operator where it can be used
Does not modify compatibility packages to keep to closer to Vaadin 7.7
Change-Id: Ic9c4944eb90218290545a04ecd7455eb63910012
Diffstat (limited to 'buildhelpers')
-rw-r--r-- | buildhelpers/src/main/java/com/vaadin/buildhelpers/GeneratePackageExports.java | 4 |
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"); |