优化代码。

This commit is contained in:
2023-04-25 09:06:00 +08:00
parent a771b207f8
commit d2f50cede5
4 changed files with 12 additions and 26 deletions

View File

@@ -166,7 +166,7 @@ public class Assert {
Assert.isFalse((arr == null || arr.length() == 0), errorMessageTemplate, args);
}
// private consrtuctor
// private constructor
private Assert() {
throw new IllegalStateException("Utility class");
}