Fixed bug when fetching updated targets

This commit is contained in:
nsingh
2017-01-09 15:02:19 -08:00
parent e01d439b2b
commit c92fbccc09

View File

@@ -44,7 +44,7 @@ public abstract class AbstractCFHintsProvider implements Provider<Collection<YVa
// needs to be up-to-date)
List<CFTarget> updatedTargets = targetsFactory.getTargets();
if (updatedTargets != null) {
Lists.newArrayList(updatedTargets.iterator());
return Lists.newArrayList(updatedTargets.iterator());
}
}
return Collections.emptyList();