mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-25 10:32:00 +01:00
removed batch update properties
Former-commit-id: 255c6e71949efe83516c9eec47b7fcf12f5aef29
This commit is contained in:
@@ -64,35 +64,11 @@ public class DataStoreMetaInfo {
|
|||||||
* A collection of properties about the data.
|
* A collection of properties about the data.
|
||||||
*/
|
*/
|
||||||
private Properties properties = new Properties();
|
private Properties properties = new Properties();
|
||||||
/**
|
|
||||||
* Indicates whether or not the updates are using a batch update mode or
|
|
||||||
* not.
|
|
||||||
*/
|
|
||||||
private boolean batchUpdateMode;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the value of batchUpdateMode.
|
|
||||||
*
|
|
||||||
* @return the value of batchUpdateMode
|
|
||||||
*/
|
|
||||||
protected boolean isBatchUpdateMode() {
|
|
||||||
return batchUpdateMode;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the value of batchUpdateMode.
|
|
||||||
*
|
|
||||||
* @param batchUpdateMode new value of batchUpdateMode
|
|
||||||
*/
|
|
||||||
protected void setBatchUpdateMode(boolean batchUpdateMode) {
|
|
||||||
this.batchUpdateMode = batchUpdateMode;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new data properties object.
|
* Constructs a new data properties object.
|
||||||
*/
|
*/
|
||||||
public DataStoreMetaInfo() {
|
public DataStoreMetaInfo() {
|
||||||
batchUpdateMode = !Settings.getString(Settings.KEYS.BATCH_UPDATE_URL, "").isEmpty();
|
|
||||||
loadProperties();
|
loadProperties();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user