Used isEmpty to check collection is empty or not

Issue-ID: DCAEGEN2-1468

Signed-off-by: Rama-Huawei <rama.subba.reddy.s@huawei.com>
Change-Id: Ice0fe7a0119442f7cf7f6171ea1e2a2c8a0c8cab
3 files changed
tree: 9705202401e9fd55c000d065e06d30415fc8db7e
  1. components/
  2. .gitignore
  3. INFO.yaml
  4. pom.xml
  5. version.properties