Skip to content

Commit ec4e71c

Browse files
committed
[4.1.1] method only available in jdk 16+
1 parent 46f2aac commit ec4e71c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ plugins {
1212

1313
ext {
1414
pluginId = 'digital.fino.build.gradle-maven-auth'
15-
pluginVersion = '4.1.0'
15+
pluginVersion = '4.1.1'
1616
}
1717

1818
group = 'digital.fino.build'

src/main/java/org/hibernate/build/publish/auth/maven/pwd/ValueProcessorRegex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public String processValue(String value) {
3737
final String group = matcher.group(1);
3838
matcher.appendReplacement(s, systemPropertiesAndEnv.get(group).map(Matcher::quoteReplacement).orElse(Matcher.quoteReplacement(matcher.group())));
3939
}
40-
if (s.isEmpty()) {
40+
if (s.length() == 0) {
4141
return value;
4242
} else {
4343
return s.toString();

0 commit comments

Comments
 (0)