diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2017-02-24 17:06:58 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-03-07 12:36:54 +0200 |
commit | 0cfb20938f2b15767ebbd367ad8312642b947c8c (patch) | |
tree | 4fe0aab62b4551d630a90e5d74eb3659c1cef948 /compatibility-shared/src/main | |
parent | 812034829a9b2765b3b196b1cbba3e7ddfe4672d (diff) | |
download | vaadin-framework-0cfb20938f2b15767ebbd367ad8312642b947c8c.tar.gz vaadin-framework-0cfb20938f2b15767ebbd367ad8312642b947c8c.zip |
Revert diamond operator changes
Diffstat (limited to 'compatibility-shared/src/main')
-rw-r--r-- | compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/datefield/Resolution.java | 4 | ||||
-rw-r--r-- | compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/grid/GridState.java | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/datefield/Resolution.java b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/datefield/Resolution.java index 155c43b5a6..fc457b4ff9 100644 --- a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/datefield/Resolution.java +++ b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/datefield/Resolution.java @@ -56,7 +56,7 @@ public enum Resolution { */ public static Iterable<Resolution> getResolutionsHigherOrEqualTo( Resolution r) { - List<Resolution> resolutions = new ArrayList<>(); + List<Resolution> resolutions = new ArrayList<Resolution>(); Resolution[] values = Resolution.values(); for (int i = r.ordinal(); i < values.length; i++) { resolutions.add(values[i]); @@ -74,7 +74,7 @@ public enum Resolution { * @return An iterable for the resolutions lower than r */ public static List<Resolution> getResolutionsLowerThan(Resolution r) { - List<Resolution> resolutions = new ArrayList<>(); + List<Resolution> resolutions = new ArrayList<Resolution>(); Resolution[] values = Resolution.values(); for (int i = r.ordinal() - 1; i >= 0; i--) { resolutions.add(values[i]); diff --git a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/grid/GridState.java b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/grid/GridState.java index 577d177d6a..c333ed0d55 100644 --- a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/grid/GridState.java +++ b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/grid/GridState.java @@ -143,7 +143,7 @@ public class GridState extends TabIndexState { /** * Column resize mode in grid. - * + * * @since 7.7.5 */ public ColumnResizeMode columnResizeMode = ColumnResizeMode.ANIMATED; @@ -151,12 +151,12 @@ public class GridState extends TabIndexState { /** * Columns in grid. */ - public List<GridColumnState> columns = new ArrayList<>(); + public List<GridColumnState> columns = new ArrayList<GridColumnState>(); /** * Column order in grid. */ - public List<String> columnOrder = new ArrayList<>(); + public List<String> columnOrder = new ArrayList<String>(); public GridStaticSectionState header = new GridStaticSectionState(); |