diff options
author | Chuanyu Chen <chenchuanyu@huawei.com> | 2017-09-23 01:39:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-23 01:39:05 +0000 |
commit | bf60056a60403fca5612dd57a5655c2643211102 (patch) | |
tree | a43d3d99db97d60213f125547c13208c45e4101a /adapters/mso-catalog-db-adapter | |
parent | eeab4de2f82d51c2165f6d6dd8f79f5ee9e6329e (diff) | |
parent | c6c40d0e152befa0b3087c838a5480a3c97b5e9a (diff) |
Merge "Replaced with diamond operator"
Diffstat (limited to 'adapters/mso-catalog-db-adapter')
-rw-r--r-- | adapters/mso-catalog-db-adapter/src/main/java/org/openecomp/mso/adapters/catalogdb/catalogrest/QueryVfModules.java | 6 |
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; |