mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-15 00:03:43 +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));
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
* file.<br/><br/>
|
||||
|
||||
Reference in New Issue
Block a user