From 4463b01c361e0ed3a0d1ddf225b7eb5bdcfc72cf Mon Sep 17 00:00:00 2001 From: Nikolay Artamonov Date: Wed, 25 Dec 2024 15:22:00 +0300 Subject: [PATCH] Fixed code style and javadocs format errors --- main/client/src/mill/main/client/Util.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main/client/src/mill/main/client/Util.java b/main/client/src/mill/main/client/Util.java index 7b28a10a9636..02282ec7d56d 100644 --- a/main/client/src/mill/main/client/Util.java +++ b/main/client/src/mill/main/client/Util.java @@ -51,7 +51,7 @@ public static final int ExitServerCodeWhenVersionMismatch() { * See: JLine As The Default Console Provider (JDK-8308591) *

* This method takes into account these differences and is compatible with - * both JDK versions < 22 and later. + * both JDK versions before 22 and later. */ public static boolean hasConsole() { Console console = System.console(); @@ -63,8 +63,7 @@ public static boolean hasConsole() { } catch (InvocationTargetException | NoSuchMethodException | IllegalAccessException ignored) { return true; } - } else - return false; + } else return false; } public static String[] parseArgs(InputStream argStream) throws IOException {