Major Sonar Issue
*Replace type specification with diamond operator
This is done to reduce the verbosity of generics code
Issue-Id: SO-118
Change-Id: Id1a6e6d2e03f6f92a0e36b9326df61154c0ba910
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
*/
public List<CreateVnfNotification.Outputs.Entry> getEntry() {
if (entry == null) {
- entry = new ArrayList<CreateVnfNotification.Outputs.Entry>();
+ entry = new ArrayList<>();
}
return this.entry;
}
*/\r
public List<QueryVnfNotification.Outputs.Entry> getEntry() {\r
if (entry == null) {\r
- entry = new ArrayList<QueryVnfNotification.Outputs.Entry>();\r
+ entry = new ArrayList<>();\r
}\r
return this.entry;\r
}\r
*/
public List<UpdateVnfNotification.Outputs.Entry> getEntry() {
if (entry == null) {
- entry = new ArrayList<UpdateVnfNotification.Outputs.Entry>();
+ entry = new ArrayList<>();
}
return this.entry;
}