The wrong key was used in the `cachedTransformations` map. Instead of the correctyl localized UID from the registry the provided transformation function was used.
Signed-off-by: Jan N. Klug <github@klug.nrw>
if (!cachedTransformations.containsKey(transformation.getUID())) {
importConfiguration(transformation);
}
- Properties properties = cachedTransformations.get(function);
+ Properties properties = cachedTransformations.get(transformation.getUID());
if (properties != null) {
String target = properties.getProperty(source);
if (!cachedTransformations.containsKey(transformation.getUID())) {
importConfiguration(transformation);
}
- Map<@Nullable Range, String> data = cachedTransformations.get(function);
+ Map<@Nullable Range, String> data = cachedTransformations.get(transformation.getUID());
if (data != null) {
String target;