final clean up

This commit is contained in:
Armin Schrenk
2023-06-30 11:57:09 +02:00
parent 8c3ede0d2a
commit 29d63a0a83
2 changed files with 5 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
package org.cryptomator.common;
import org.jetbrains.annotations.VisibleForTesting;
import org.slf4j.LoggerFactory;
import java.util.Map;
@@ -33,7 +34,7 @@ public class SubstitutingProperties extends PropertiesDecorator {
return result != null ? result : defaultValue;
}
//visible for testing
@VisibleForTesting
String process(String value) {
return TEMPLATE.matcher(value).replaceAll(match -> //
switch (match.group(1)) {