commit | 6cfc02d9539e382e3eb1ffd3cfb96d4b2352eeff | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Fri Sep 11 11:19:11 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri Sep 11 18:53:17 2015 +0000 |
tree | 808929e8f93cb96eb243508e99778f294af70041 | |
parent | f578b4301b193759aa70b06786aad11620b96d63 [diff] [blame] |
Use dianmond operator Change-Id: I551dd9443b10ef17832f74a554486b7605e9866a
diff --git a/apps/vtnweb/src/main/java/org/onosproject/vtnweb/resources/TenantNetworkWebResource.java b/apps/vtnweb/src/main/java/org/onosproject/vtnweb/resources/TenantNetworkWebResource.java index 9fd75ab..cd2ac29 100644 --- a/apps/vtnweb/src/main/java/org/onosproject/vtnweb/resources/TenantNetworkWebResource.java +++ b/apps/vtnweb/src/main/java/org/onosproject/vtnweb/resources/TenantNetworkWebResource.java
@@ -240,7 +240,7 @@ @Path("{id}") public Response deleteNetworks(@PathParam("id") String id) { log.debug("Deletes network by identifier {}.", id); - Set<TenantNetworkId> networkSet = new HashSet<TenantNetworkId>(); + Set<TenantNetworkId> networkSet = new HashSet<>(); networkSet.add(TenantNetworkId.networkId(id)); Boolean issuccess = nullIsNotFound(get(TenantNetworkService.class) .removeNetworks(networkSet), NETWORK_NOT_FOUND);