Fix JavaDoc
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Thu, 20 Mar 2025 21:48:21 +0000 (23:48 +0200)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Thu, 20 Mar 2025 21:48:21 +0000 (23:48 +0200)
src/main/java/eu/svjatoslav/commons/cli_helper/CLIHelper.java

index 7866fc6..fe00e70 100755 (executable)
@@ -62,8 +62,8 @@ public class CLIHelper {
      * <ul>
      *   <li>If {@code defaultValue} is specified and user presses Enter, that default is returned.</li>
      *   <li>If {@code defaultValue} is {@code null} and user presses Enter, returns {@code null}.</li>
-     *   <li>If {@code min} is not {@code null}, we enforce that the entered float is >= min.</li>
-     *   <li>If {@code max} is not {@code null}, we enforce that the entered float is <= max.</li>
+     *   <li>If {@code min} is not {@code null}, we enforce that the entered float is {@code >= min}.</li>
+     *   <li>If {@code max} is not {@code null}, we enforce that the entered float is {@code <= max}.</li>
      * </ul>
      *
      * @param prompt       The prompt displayed to the user
@@ -120,8 +120,8 @@ public class CLIHelper {
      * <ul>
      *   <li>If {@code defaultValue} is specified and user presses Enter, that default is returned.</li>
      *   <li>If {@code defaultValue} is {@code null} and user presses Enter, returns {@code null}.</li>
-     *   <li>If {@code min} is not {@code null}, we enforce that the entered long is >= min.</li>
-     *   <li>If {@code max} is not {@code null}, we enforce that the entered long is <= max.</li>
+     *   <li>If {@code min} is not {@code null}, we enforce that the entered long is {@code >= min}.</li>
+     *   <li>If {@code max} is not {@code null}, we enforce that the entered long is {@code <= max}.</li>
      * </ul>
      *
      * @param prompt       The prompt displayed to the user