From 504b3c4c65c6a2ccfeeb1501eff7a29f5a3dbec3 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 5 Sep 2016 12:33:39 +0300 Subject: Use diamond operator where it can be used Does not modify compatibility packages to keep to closer to Vaadin 7.7 Change-Id: Ic9c4944eb90218290545a04ecd7455eb63910012 --- server/src/main/java/com/vaadin/ui/CustomLayout.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/main/java/com/vaadin/ui/CustomLayout.java') diff --git a/server/src/main/java/com/vaadin/ui/CustomLayout.java b/server/src/main/java/com/vaadin/ui/CustomLayout.java index 11ab9c2f0e..179969765d 100644 --- a/server/src/main/java/com/vaadin/ui/CustomLayout.java +++ b/server/src/main/java/com/vaadin/ui/CustomLayout.java @@ -67,7 +67,7 @@ public class CustomLayout extends AbstractLayout implements LegacyComponent { /** * Custom layout slots containing the components. */ - private final HashMap slots = new HashMap(); + private final HashMap slots = new HashMap<>(); /** * Default constructor only used by subclasses. Subclasses are responsible -- cgit v1.2.3