It would be more explicit then to check for CollectionUtils.isEmpty on both maps and removing the try catch.