Skip to content

Commit

Permalink
Fixed code style and javadocs format errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Artamonov committed Dec 25, 2024
1 parent f854c7b commit 4463b01
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions main/client/src/mill/main/client/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static final int ExitServerCodeWhenVersionMismatch() {
* See: JLine As The Default Console Provider (JDK-8308591)
* <p>
* 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();
Expand All @@ -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 {
Expand Down

0 comments on commit 4463b01

Please sign in to comment.