mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-04-22 08:18:45 +02:00
minor formating updatae
This commit is contained in:
@@ -152,10 +152,13 @@ public final class FileUtils {
|
||||
|
||||
/**
|
||||
* Gets the {@link InputStream} for this resource
|
||||
*
|
||||
* @param resource path
|
||||
* @return
|
||||
*/
|
||||
public static InputStream getResourceAsStream(String resource) {
|
||||
return FileUtils.class.getClassLoader()!=null?FileUtils.class.getClassLoader().getResourceAsStream(resource):ClassLoader.getSystemResourceAsStream(resource);
|
||||
return FileUtils.class.getClassLoader() != null
|
||||
? FileUtils.class.getClassLoader().getResourceAsStream(resource)
|
||||
: ClassLoader.getSystemResourceAsStream(resource);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -260,7 +260,8 @@ public final class Settings {
|
||||
*/
|
||||
public static final String ANALYZER_NODE_PACKAGE_ENABLED = "analyzer.node.package.enabled";
|
||||
/**
|
||||
* The properties key for whether the Node Security Platform (nsp) analyzer is enabled.
|
||||
* The properties key for whether the Node Security Platform (nsp)
|
||||
* analyzer is enabled.
|
||||
*/
|
||||
public static final String ANALYZER_NSP_PACKAGE_ENABLED = "analyzer.nsp.package.enabled";
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user