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)
* We really care most about the underlying ConfigShapshot, so compute equality on that
*/
@Override
- public boolean equals(Object obj) {
+ public boolean equals(final Object obj) {
if (this == obj) {
return true;
}