diff --git a/protocol/src/main/java/com/zfoo/protocol/collection/lpmap/LpMap.java b/protocol/src/main/java/com/zfoo/protocol/collection/lpmap/LpMap.java index 827581cb..41bceb87 100644 --- a/protocol/src/main/java/com/zfoo/protocol/collection/lpmap/LpMap.java +++ b/protocol/src/main/java/com/zfoo/protocol/collection/lpmap/LpMap.java @@ -18,7 +18,7 @@ import java.util.function.BiConsumer; /** * Fixed-type map with long keys and Object values - * The long key must be >= 0; value may be null + * The long key must be ge than 0; value may be null * * @author godotg */ diff --git a/protocol/src/main/java/com/zfoo/protocol/util/AssertionUtils.java b/protocol/src/main/java/com/zfoo/protocol/util/AssertionUtils.java index f931679d..085a726e 100644 --- a/protocol/src/main/java/com/zfoo/protocol/util/AssertionUtils.java +++ b/protocol/src/main/java/com/zfoo/protocol/util/AssertionUtils.java @@ -64,10 +64,10 @@ public abstract class AssertionUtils { // ----------------------------------long---------------------------------- /** - * lt: whether arg1 < arg2 - * le: whether arg1 <= arg2 - * gt: whether arg1 > arg2 - * ge: whether arg1 >= arg2 + * lt: whether arg1 less than arg2 + * le: whether arg1 le than arg2 + * gt: whether arg1 great than arg2 + * ge: whether arg1 ge than arg2 */ public static void ge(long x, long y) { if (x < y) { diff --git a/protocol/src/main/java/com/zfoo/protocol/util/ClassUtils.java b/protocol/src/main/java/com/zfoo/protocol/util/ClassUtils.java index eb55686b..f8b37eec 100644 --- a/protocol/src/main/java/com/zfoo/protocol/util/ClassUtils.java +++ b/protocol/src/main/java/com/zfoo/protocol/util/ClassUtils.java @@ -99,7 +99,7 @@ public abstract class ClassUtils { jarFileUrl = jarCon.getJarFileURL().toExternalForm(); closeJarFile = !jarCon.getUseCaches(); } else { - // Not a JarURLConnection -> fall back to URL file parsing + // Not a JarURLConnection fall back to URL file parsing // Assume URL format is "jar:path!/entry"; protocol is arbitrary if entry format is followed // Handle paths both with and without a leading "file:" prefix String urlFile = packageUrl.getFile();