* Stats: Change stat.full default.to false (saves ~ 1MB)
This commit is contained in:
@ -139,6 +139,6 @@ public class ConfigStatsHelper extends HelperBase {
|
|||||||
public boolean getCurrentCanBeGraphed() { return _currentCanBeGraphed; }
|
public boolean getCurrentCanBeGraphed() { return _currentCanBeGraphed; }
|
||||||
public String getExplicitFilter() { return _filter; }
|
public String getExplicitFilter() { return _filter; }
|
||||||
public boolean getIsFull() {
|
public boolean getIsFull() {
|
||||||
return _context.getBooleanPropertyDefaultTrue(StatManager.PROP_STAT_FULL);
|
return _context.getBooleanProperty(StatManager.PROP_STAT_FULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -206,7 +206,7 @@ public class StatManager {
|
|||||||
* @return true if the stat should be ignored.
|
* @return true if the stat should be ignored.
|
||||||
*/
|
*/
|
||||||
public boolean ignoreStat(String statName) {
|
public boolean ignoreStat(String statName) {
|
||||||
if (_context.getBooleanPropertyDefaultTrue(PROP_STAT_FULL))
|
if (_context.getBooleanProperty(PROP_STAT_FULL))
|
||||||
return false;
|
return false;
|
||||||
String required = _context.getProperty(PROP_STAT_REQUIRED, DEFAULT_STAT_REQUIRED);
|
String required = _context.getProperty(PROP_STAT_REQUIRED, DEFAULT_STAT_REQUIRED);
|
||||||
String req[] = required.split(",");
|
String req[] = required.split(",");
|
||||||
|
Reference in New Issue
Block a user