Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'override_settings'

  • Loading branch information...
commit aea52cd9a951ed88fdebe24f10eaa32005b0409d 2 parents 74b115d + f9600e1
@giastfader giastfader authored
View
2  app/com/baasbox/configuration/Application.java
@@ -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
View
1  app/com/baasbox/configuration/ImagesConfiguration.java
@@ -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());
View
1  app/com/baasbox/configuration/PasswordRecovery.java
@@ -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());
View
1  app/com/baasbox/configuration/Push.java
@@ -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());
View
1  app/com/baasbox/configuration/SocialLoginConfiguration.java
@@ -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());
Please sign in to comment.
Something went wrong with that request. Please try again.