docs: Correct grammatical errors in the comments

This commit is contained in:
jaysunxiao committed 2026-05-08 17:35:53 +08:00
1 parent 5f7d362bbc
commit 53ced0711c
3 files changed
+6 -6

No files matched your search

@@ -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
*/
@@ -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) {
@@ -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();