Styling: support specifying explicit value type for parsing CSS values (for future use)

This commit is contained in:
Karl Tauber
2021-08-31 23:53:12 +02:00
parent b12c818862
commit 6f9bbb184a
6 changed files with 192 additions and 67 deletions

View File

@@ -56,7 +56,8 @@ public class UIDefaultsLoaderAccessor
Function<String, String> resolver )
{
ValueType[] resultValueType2 = new ValueType[1];
Object result = UIDefaultsLoader.parseValue( key, value, resultValueType2, resolver, Collections.emptyList() );
Object result = UIDefaultsLoader.parseValue( key, value, null,
resultValueType2, resolver, Collections.emptyList() );
resultValueType[0] = resultValueType2[0];
return result;
}