summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuanyu Chen <chenchuanyu@huawei.com>2017-09-23 01:39:05 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-23 01:39:05 +0000
commitbf60056a60403fca5612dd57a5655c2643211102 (patch)
treea43d3d99db97d60213f125547c13208c45e4101a
parenteeab4de2f82d51c2165f6d6dd8f79f5ee9e6329e (diff)
parentc6c40d0e152befa0b3087c838a5480a3c97b5e9a (diff)
Merge "Replaced with diamond operator"
-rw-r--r--adapters/mso-catalog-db-adapter/src/main/java/org/openecomp/mso/adapters/catalogdb/catalogrest/QueryVfModules.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/adapters/mso-catalog-db-adapter/src/main/java/org/openecomp/mso/adapters/catalogdb/catalogrest/QueryVfModules.java b/adapters/mso-catalog-db-adapter/src/main/java/org/openecomp/mso/adapters/catalogdb/catalogrest/QueryVfModules.java
index 3ffb0c6744..46b8f31046 100644
--- a/adapters/mso-catalog-db-adapter/src/main/java/org/openecomp/mso/adapters/catalogdb/catalogrest/QueryVfModules.java
+++ b/adapters/mso-catalog-db-adapter/src/main/java/org/openecomp/mso/adapters/catalogdb/catalogrest/QueryVfModules.java
@@ -37,10 +37,10 @@ public class QueryVfModules {
private static MsoLogger LOGGER = MsoLogger.getMsoLogger (MsoLogger.Catalog.RA);
private List<VfModule> vfModules;
- public QueryVfModules() { super(); vfModules = new ArrayList<VfModule>(); }
+ public QueryVfModules() { super(); vfModules = new ArrayList<>(); }
public QueryVfModules(List<VfModule> vlist) {
LOGGER.debug ("QueryVfModules:");
- vfModules = new ArrayList<VfModule>();
+ vfModules = new ArrayList<>();
for (VfModule o : vlist) {
LOGGER.debug ("-- o is a vfModules ----");
LOGGER.debug (o.toString());
@@ -55,7 +55,7 @@ public class QueryVfModules {
@Override
public String toString () {
- StringBuffer buf = new StringBuffer();
+ StringBuilder buf = new StringBuilder();
boolean first = true;
int i = 1;