summaryrefslogtreecommitdiffstats
path: root/compatibility-shared
diff options
context:
space:
mode:
Diffstat (limited to 'compatibility-shared')
-rw-r--r--compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/datefield/Resolution.java4
-rw-r--r--compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/grid/GridState.java6
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();