mirror of
https://github.com/mirror/jdownloader.git
synced 2024-11-23 12:09:43 +00:00
DomainRule:
-updated maxChunks from int to Integer = null/not set git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@49842 ebf7c1c2-ba36-0410-9fe8-c592906822b4 Former-commit-id: 3441ebdd1225c2696ff707e40df0360961828848
This commit is contained in:
parent
e7714ed96c
commit
5450e15cbe
@ -8,7 +8,7 @@ public class DomainRule implements Storable {
|
|||||||
private String pluginPattern;
|
private String pluginPattern;
|
||||||
private boolean enabled = false;
|
private boolean enabled = false;
|
||||||
private int maxSimultanDownloads = 0;
|
private int maxSimultanDownloads = 0;
|
||||||
private int maxChunks = 0;
|
private int maxChunks = null;
|
||||||
private boolean allowToExceedTheGlobalLimit = false;
|
private boolean allowToExceedTheGlobalLimit = false;
|
||||||
|
|
||||||
public DomainRule(/* Storable */) {
|
public DomainRule(/* Storable */) {
|
||||||
@ -72,11 +72,11 @@ public class DomainRule implements Storable {
|
|||||||
this.maxSimultanDownloads = maxSimultanDownloads;
|
this.maxSimultanDownloads = maxSimultanDownloads;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getMaxChunks() {
|
public Integer getMaxChunks() {
|
||||||
return maxChunks;
|
return maxChunks;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setMaxChunks(int maxChunks) {
|
public void setMaxChunks(Integer maxChunks) {
|
||||||
this.maxChunks = maxChunks;
|
this.maxChunks = maxChunks;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user