Fix setting xml features

The argument of the method has been unused leading to all of the
features being set to true regardless of the passed argument value.
This commit is contained in:
mishako 2016-01-10 16:42:08 +01:00
parent 18be1a2461
commit 8ac1d3a95b

View file

@ -370,8 +370,8 @@ public class WireFeedInput {
private void setFeature(SAXBuilder saxBuilder, XMLReader parser, String feature, boolean value) {
try {
saxBuilder.setFeature(feature, true);
parser.setFeature(feature, true);
saxBuilder.setFeature(feature, value);
parser.setFeature(feature, value);
} catch (final SAXNotRecognizedException e) {
// ignore
} catch (final SAXNotSupportedException e) {