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 2323import java .io .IOException ;
2424import java .net .URL ;
2525import java .nio .charset .StandardCharsets ;
26+ import java .util .Locale ;
2627import java .util .concurrent .TimeUnit ;
2728import org .apache .commons .io .FileUtils ;
2829import org .apache .commons .lang3 .SystemUtils ;
@@ -191,7 +192,7 @@ public static boolean installMariaDbFromHomebrew() {
191192
192193 String checkInstallOutput = new String (brewInstall .getInputStream ().readAllBytes (), StandardCharsets .UTF_8 );
193194
194- if (checkInstallOutput .toLowerCase ().contains ("error" )) {
195+ if (checkInstallOutput .toLowerCase (Locale . ROOT ).contains ("error" )) {
195196 throw new IllegalStateException ("Failed to install mariadb with Homebrew - see " + checkInstallOutput );
196197 }
197198
You can’t perform that action at this time.
0 commit comments