summaryrefslogtreecommitdiffstats
path: root/keystone-model
diff options
context:
space:
mode:
authorSeshu Kumar M <seshu.kumar.m@huawei.com>2017-10-23 04:18:32 +0000
committerGerrit Code Review <gerrit@onap.org>2017-10-23 04:18:32 +0000
commit32a3d0b0d8eaca8ed61d1a73852123b7b59e5285 (patch)
treee2c505f173900fbe79cddafe77fb96680bf2287d /keystone-model
parent646b0091820946ead7ca8e9b351e1647fe259eed (diff)
parent66d2cd7eb613a0cc843935e32c28fd15cca16774 (diff)
Merge "Replace type specification with operator ("<>")"
Diffstat (limited to 'keystone-model')
-rw-r--r--keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Authentication.java2
-rw-r--r--keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Credential.java2
-rw-r--r--keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Policy.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Authentication.java b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Authentication.java
index b6bb9fc..66d2854 100644
--- a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Authentication.java
+++ b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Authentication.java
@@ -59,7 +59,7 @@ public class Authentication implements Serializable {
return identity;
}
- private List<String> methods = new ArrayList<String>();
+ private List<String> methods = new ArrayList<>();
public static final class Password {
diff --git a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Credential.java b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Credential.java
index 782e209..b3fc00f 100644
--- a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Credential.java
+++ b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Credential.java
@@ -32,7 +32,7 @@ public class Credential {
private String userId;
- private Map<String, String> blob = new HashMap<String, String>();
+ private Map<String, String> blob = new HashMap<>();
public String getId() {
return id;
diff --git a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Policy.java b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Policy.java
index 1345ac2..f14a004 100644
--- a/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Policy.java
+++ b/keystone-model/src/main/java/com/woorea/openstack/keystone/v3/model/Policy.java
@@ -32,7 +32,7 @@ public class Policy {
private String userId;
- private Map<String, String> blob = new HashMap<String, String>();
+ private Map<String, String> blob = new HashMap<>();
public String getId() {
return id;