We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08d733e commit c05a39bCopy full SHA for c05a39b
src/main/org/firebirdsql/gds/JaybirdSystemProperties.java
@@ -137,7 +137,7 @@ public static boolean isXaConnectionForceCloseOnFatal() {
137
private static boolean getBooleanWithDefault(String propertyName, boolean defaultValue) {
138
String stringValue = getSystemPropertyPrivileged(propertyName);
139
// Special handling for null -> default, and blank string -> true
140
- return stringValue == null ? defaultValue : (stringValue.isBlank() || Boolean.parseBoolean(stringValue));
+ return stringValue == null ? defaultValue : (stringValue.trim().isEmpty() || Boolean.parseBoolean(stringValue));
141
}
142
143
private static String getSystemPropertyPrivileged(final String propertyName) {
0 commit comments