mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-21 08:39:24 +01:00
added a setInt in support of PR #390
This commit is contained in:
@@ -467,6 +467,17 @@ public final class Settings {
|
|||||||
setString(key, Boolean.toString(value));
|
setString(key, Boolean.toString(value));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets a property value.
|
||||||
|
*
|
||||||
|
* @param key the key for the property
|
||||||
|
* @param value the value for the property
|
||||||
|
*/
|
||||||
|
public static void setInt(String key, int value) {
|
||||||
|
localSettings.get().props.setProperty(key, String.valueOf(value));
|
||||||
|
LOGGER.debug("Setting: {}='{}'", key, value);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Merges a new properties file into the current properties. This method allows for the loading of a user provided properties
|
* Merges a new properties file into the current properties. This method allows for the loading of a user provided properties
|
||||||
* file.<br/><br/>
|
* file.<br/><br/>
|
||||||
|
|||||||
Reference in New Issue
Block a user