import java.util.List;
import java.util.Map;
public class PotentialInputs {
private final Map<String, PotentialInput> inputs;
private final List<ModelView<?>> modelViews;
<BUG>public PotentialInputs(List<ModelView<?>> modelViews, Iterable<PotentialInput> inputs) {

this.modelViews = modelViews;
this.inputs = Maps.uniqueIndex(inputs, new Function<PotentialInput, String>() {
@Override
public String apply(PotentialInput input) {
return input.getConsumerPath();
}
});</BUG>
}

import java.util.List;
import java.util.Map;
public class PotentialInputs {
private final Map<String, PotentialInput> inputs;
private final List<ModelView<?>> modelViews;
public PotentialInputs(List<ModelView<?>> modelViews, Map<String, PotentialInput> inputs) {
this.modelViews = modelViews;
this.inputs = inputs;
}
