mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-08 02:09:06 +00:00
Polish
This commit is contained in:
+1
-1
@@ -151,7 +151,7 @@ public abstract class AnsiOutput {
|
||||
if ((consoleAvailable == null) && (System.console() == null)) {
|
||||
return false;
|
||||
}
|
||||
return !(OPERATING_SYSTEM_NAME.indexOf("win") >= 0);
|
||||
return !(OPERATING_SYSTEM_NAME.contains("win"));
|
||||
}
|
||||
catch (Throwable ex) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user