From f47593695b68356803d45475b85a0e12388426cc Mon Sep 17 00:00:00 2001 From: rama-huawei Date: Tue, 17 Oct 2017 15:59:37 +0530 Subject: Replace type in constructor with diamond operator Issue-id:SO-227 Change-Id: Iffd874a5abad36d282f62e4e7cce9a3cd36e3c80 Signed-off-by: rama-huawei --- .../com/woorea/openstack/ceilometer/QueriableCeilometerCommand.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ceilometer-client/src') diff --git a/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/QueriableCeilometerCommand.java b/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/QueriableCeilometerCommand.java index 31086dd..7d3bcf3 100644 --- a/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/QueriableCeilometerCommand.java +++ b/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/QueriableCeilometerCommand.java @@ -24,11 +24,11 @@ import com.woorea.openstack.base.client.OpenStackRequest; public abstract class QueriableCeilometerCommand extends OpenStackRequest { - protected List fields = new ArrayList(); + protected List fields = new ArrayList<>(); - protected List ops = new ArrayList(); + protected List ops = new ArrayList<>(); - protected List values = new ArrayList(); + protected List values = new ArrayList<>(); private T filter(String field, String op, Serializable value) { fields.add(field); -- cgit 1.2.3-korg