summaryrefslogtreecommitdiffstats
path: root/all
diff options
context:
space:
mode:
Diffstat (limited to 'all')
-rw-r--r--all/src/main/java/com/vaadin/buildhelpers/FetchReleaseNotesAuthors.java2
-rw-r--r--all/src/main/java/com/vaadin/buildhelpers/FetchReleaseNotesTickets.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/all/src/main/java/com/vaadin/buildhelpers/FetchReleaseNotesAuthors.java b/all/src/main/java/com/vaadin/buildhelpers/FetchReleaseNotesAuthors.java
index 5d92b499fe..72c10e892f 100644
--- a/all/src/main/java/com/vaadin/buildhelpers/FetchReleaseNotesAuthors.java
+++ b/all/src/main/java/com/vaadin/buildhelpers/FetchReleaseNotesAuthors.java
@@ -56,7 +56,7 @@ public class FetchReleaseNotesAuthors {
new InputStreamReader(p.getInputStream()));
String line = "";
- List<String> authors = new ArrayList<String>();
+ List<String> authors = new ArrayList<>();
while ((line = b.readLine()) != null) {
String author = line;
if (authorMap.containsKey(author)) {
diff --git a/all/src/main/java/com/vaadin/buildhelpers/FetchReleaseNotesTickets.java b/all/src/main/java/com/vaadin/buildhelpers/FetchReleaseNotesTickets.java
index 9f51bbf47f..7865770be8 100644
--- a/all/src/main/java/com/vaadin/buildhelpers/FetchReleaseNotesTickets.java
+++ b/all/src/main/java/com/vaadin/buildhelpers/FetchReleaseNotesTickets.java
@@ -39,7 +39,7 @@ public class FetchReleaseNotesTickets {
}
String milestone = "";
- List<String> versions = new ArrayList<String>();
+ List<String> versions = new ArrayList<>();
for (String version : versionsProperty.split(" ")) {
if (version.endsWith(".0") || version.matches(".*\\.rc\\d+")) {
// Find all prerelease versions for final or rc
@@ -63,7 +63,7 @@ public class FetchReleaseNotesTickets {
}
private static List<String> findPrereleaseVersions(String baseVersion) {
- List<String> versions = new ArrayList<String>();
+ List<String> versions = new ArrayList<>();
for (int i = 0; i < 50; i++) {
versions.add(baseVersion + ".alpha" + i);