public class FeatureConfigSnapshotHolder implements ConfigSnapshotHolder {
private ConfigSnapshot unmarshalled = null;
private ConfigFileInfo fileInfo = null;
- private List<Feature> featureChain = new ArrayList<Feature>();
+ private List<Feature> featureChain = new ArrayList<>();
/*
* @param holder - FeatureConfigSnapshotHolder that we
xif.setProperty(XMLInputFactory.SUPPORT_DTD, false);
XMLStreamReader xsr = xif.createXMLStreamReader(new StreamSource(new File(fileInfo.getFinalname())));
- unmarshalled = ((ConfigSnapshot) um.unmarshal(xsr));
+ unmarshalled = (ConfigSnapshot) um.unmarshal(xsr);
}
/*
* (non-Javadoc)