File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
mariaDB4j-core/src/main/java/ch/vorburger/mariadb4j Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 23
23
import java .io .IOException ;
24
24
import java .net .URL ;
25
25
import java .nio .charset .StandardCharsets ;
26
+ import java .util .Locale ;
26
27
import java .util .concurrent .TimeUnit ;
27
28
import org .apache .commons .io .FileUtils ;
28
29
import org .apache .commons .lang3 .SystemUtils ;
@@ -191,7 +192,7 @@ public static boolean installMariaDbFromHomebrew() {
191
192
192
193
String checkInstallOutput = new String (brewInstall .getInputStream ().readAllBytes (), StandardCharsets .UTF_8 );
193
194
194
- if (checkInstallOutput .toLowerCase ().contains ("error" )) {
195
+ if (checkInstallOutput .toLowerCase (Locale . ROOT ).contains ("error" )) {
195
196
throw new IllegalStateException ("Failed to install mariadb with Homebrew - see " + checkInstallOutput );
196
197
}
197
198
You can’t perform that action at this time.
0 commit comments