@Override
public void run() {
- List<Feature> toInstall = new ArrayList<Feature>();
+ List<Feature> toInstall = new ArrayList<>();
FeatureEvent event = null;
boolean interuppted = false;
while(true) {
}
}
- protected void processFeatureEvent(FeatureEvent event, List<Feature> toInstall) throws InterruptedException, Exception {
+ protected void processFeatureEvent(FeatureEvent event, List<Feature> toInstall) throws Exception {
if(event.getType() == EventType.FeatureInstalled) {
toInstall.add(event.getFeature());
LinkedHashMultimap<Feature,FeatureConfigSnapshotHolder> result = configPusher.pushConfigs(toInstall);