cxf-rt-databinding-jaxb: fix 'Container contents are never accessed'
@@ -32,7 +32,6 @@ import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
-import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
@@ -397,10 +396,6 @@ public class JAXBDataBinding extends AbstractInterceptorProvidingDataBinding
throw new ServiceConstructionException("SCHEMA_GEN_EXC", LOG, e);
}
}
- Set<String> ids = new HashSet<>();
- for (DOMSource r : schemas) {
- ids.add(r.getSystemId());
- }
for (DOMSource r : schemas) {
if (bi.contains(r)) {
String ns = ((Document)r.getNode()).getDocumentElement().getAttribute("targetNamespace");
