UIDefaultsLoader: trim value in resolveValue() to ignore spaces at the end of references/variables

This commit is contained in:
Karl Tauber
2020-07-08 10:47:36 +02:00
parent eafad942e7
commit 64328ab9cc

View File

@@ -211,6 +211,8 @@ class UIDefaultsLoader
}
static String resolveValue( String value, Function<String, String> propertiesGetter ) {
value = value.trim();
if( value.startsWith( PROPERTY_PREFIX ) )
value = value.substring( PROPERTY_PREFIX.length() );
else if( !value.startsWith( VARIABLE_PREFIX ) )