List<String> resourceUuidList = global.getResourceVf();\r
String serviceUuid = sdcCatalogServices.getServiceUuidFromServiceInvariantId(invariantServiceUuid);\r
String resourceUuid = "";\r
- if (resourceUuidList != null && resourceUuidList.size() > 0) {\r
+ if (resourceUuidList != null && !resourceUuidList.isEmpty()) {\r
resourceUuid = resourceUuidList.get(0).toString();\r
}\r
/* Invemtory service url is called in this method */\r