summaryrefslogtreecommitdiffstats
path: root/ceilometer-client/src/main
diff options
context:
space:
mode:
authorrama-huawei <rama.subba.reddy.s@huawei.com>2017-10-17 15:59:37 +0530
committerrama-huawei <rama.subba.reddy.s@huawei.com>2017-10-17 16:01:39 +0530
commitf47593695b68356803d45475b85a0e12388426cc (patch)
treea605a8985ee725721c7638427c19b5e41ad06401 /ceilometer-client/src/main
parent4ee9b223bc85bfaae4e1911b439d94d4cf424cdf (diff)
Replace type in constructor with diamond operator
Issue-id:SO-227 Change-Id: Iffd874a5abad36d282f62e4e7cce9a3cd36e3c80 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
Diffstat (limited to 'ceilometer-client/src/main')
-rw-r--r--ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/QueriableCeilometerCommand.java6
1 files changed, 3 insertions, 3 deletions
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<T,R> extends OpenStackRequest<R> {
- protected List<String> fields = new ArrayList<String>();
+ protected List<String> fields = new ArrayList<>();
- protected List<String> ops = new ArrayList<String>();
+ protected List<String> ops = new ArrayList<>();
- protected List<Serializable> values = new ArrayList<Serializable>();
+ protected List<Serializable> values = new ArrayList<>();
private T filter(String field, String op, Serializable value) {
fields.add(field);