Permalink
Browse files

Merge branch 'override_settings'

  • Loading branch information...
2 parents 74b115d + f9600e1 commit aea52cd9a951ed88fdebe24f10eaa32005b0409d @giastfader giastfader committed Mar 6, 2014
@@ -153,6 +153,7 @@ public void override(Object newValue) {
Object parsedValue=null;
if (Logger.isDebugEnabled()) Logger.debug("New setting value, key: " + this.key + ", type: "+ this.type + ", new value: " + newValue);
+ if (changeCallback != null) changeCallback.change(getValue(), newValue);
if (newValue != null)
if (type == Boolean.class)
parsedValue = Boolean.parseBoolean(newValue.toString());
@@ -167,6 +168,7 @@ else if (type == String.class)
this.overriddenValue=parsedValue;
this.overridden=true;
this.editable=false;
+
}
@Override
@@ -166,6 +166,7 @@ public void override(Object newValue) {
Object parsedValue=null;
if (Logger.isDebugEnabled()) Logger.debug("New setting value, key: " + this.key + ", type: "+ this.type + ", new value: " + newValue);
+ if (changeCallback != null) changeCallback.change(getValue(), newValue);
if (newValue != null)
if (type == Boolean.class)
parsedValue = Boolean.parseBoolean(newValue.toString());
@@ -158,6 +158,7 @@ public void override(Object newValue) {
Object parsedValue=null;
if (Logger.isDebugEnabled()) Logger.debug("New setting value, key: " + this.key + ", type: "+ this.type + ", new value: " + newValue);
+ if (changeCallback != null) changeCallback.change(getValue(), newValue);
if (newValue != null)
if (type == Boolean.class)
parsedValue = Boolean.parseBoolean(newValue.toString());
@@ -180,6 +180,7 @@ public void override(Object newValue) {
Object parsedValue=null;
if (Logger.isDebugEnabled()) Logger.debug("New setting value, key: " + this.key + ", type: "+ this.type + ", new value: " + newValue);
+ if (changeCallback != null) changeCallback.change(getValue(), newValue);
if (newValue != null)
if (type == Boolean.class)
parsedValue = Boolean.parseBoolean(newValue.toString());
@@ -145,6 +145,7 @@ public void override(Object newValue) {
Object parsedValue=null;
if (Logger.isDebugEnabled()) Logger.debug("New setting value, key: " + this.key + ", type: "+ this.type + ", new value: " + newValue);
+ if (changeCallback != null) changeCallback.change(getValue(), newValue);
if (newValue != null)
if (type == Boolean.class)
parsedValue = Boolean.parseBoolean(newValue.toString());

0 comments on commit aea52cd

Please sign in to comment.