mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-16 00:33:46 +01:00
checkstyle recommendations
This commit is contained in:
@@ -351,7 +351,7 @@ public final class Downloader {
|
||||
try {
|
||||
quickQuery = Settings.getBoolean(Settings.KEYS.DOWNLOADER_QUICK_QUERY_TIMESTAMP, true);
|
||||
} catch (InvalidSettingException e) {
|
||||
if (LOGGER.isTraceEnabled()){
|
||||
if (LOGGER.isTraceEnabled()) {
|
||||
LOGGER.trace("Invalid settings : {}", e.getMessage(), e);
|
||||
}
|
||||
quickQuery = true;
|
||||
|
||||
@@ -119,7 +119,7 @@ public final class XmlUtils {
|
||||
factory.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true);
|
||||
factory.setFeature("http://xml.org/sax/features/external-general-entities", false);
|
||||
factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
|
||||
DocumentBuilder db = factory.newDocumentBuilder();
|
||||
final DocumentBuilder db = factory.newDocumentBuilder();
|
||||
return db;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user