return this expression instead of assigning it to a temporary variable
Issue-ID: CCSDK-1559
Change-Id: I1b0ce8b89f51f2fd5b2da7d8f2401d2be5007615
Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights
* reserved.
+ *
+ * Modifications Copyright (C) 2019 IBM.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
log.info("ResourceName:" + r.resourceKey.resourceName + " assetId:" + r.resourceKey.assetId);
- ResourceData rd = getResourceData(r);
- rdlist.add(rd);
+
+ rdlist.add(getResourceData(r));
}
return rdlist;