🍬A set of tools that keep Java sweet.
20 matches across 4 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …core/src/test/java/cn/hutool/core/lang/AssertTest.java | 15 | cn.hutool.core.lang.Assert.isNull(a); |
| CRITICAL | …core/src/test/java/cn/hutool/core/lang/AssertTest.java | 21 | cn.hutool.core.lang.Assert.isNull(a); |
| CRITICAL | …core/src/test/java/cn/hutool/core/lang/AssertTest.java | 29 | cn.hutool.core.lang.Assert.isTrue(i > 0, IllegalArgumentException::new); |
| CRITICAL | …core/src/test/java/cn/hutool/core/lang/AssertTest.java | 38 | cn.hutool.core.lang.Assert.isTrue(i >= 0, IndexOutOfBoundsException::new); |
| CRITICAL | …c/main/java/cn/hutool/log/dialect/tinylog/TinyLog.java | 76 | return this.level <= org.pmw.tinylog.Level.WARNING.ordinal(); |
| CRITICAL | …rc/test/java/cn/hutool/extra/mail/MailAccountTest.java | 29 | * 参见 com.sun.mail.util.SocketFetcher.getSocket(java.lang.String, int, java.util.Properties, java.lang.String, boolean) |
| CRITICAL | …/main/java/cn/hutool/poi/excel/ExcelExtractorUtil.java | 25 | extractor = new org.apache.poi.hssf.extractor.ExcelExtractor((HSSFWorkbook) wb); |
| CRITICAL | …i/src/main/java/cn/hutool/poi/excel/ExcelDateUtil.java | 68 | return org.apache.poi.ss.usermodel.DateUtil.isADateFormat(formatIndex, formatString); |
| CRITICAL | …rc/main/java/cn/hutool/poi/excel/sax/ExcelSaxUtil.java | 238 | return DateUtil.date(org.apache.poi.ss.usermodel.DateUtil.getJavaDate(value, false)); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | bin/replaceVersion.sh | 3 | #----------------------------------------------------------- |
| MEDIUM | bin/replaceVersion.sh | 5 | #----------------------------------------------------------- |
| MEDIUM | bin/check_dependency_updates.sh | 3 | #-------------------------------------- |
| MEDIUM | bin/check_dependency_updates.sh | 5 | #-------------------------------------- |
| MEDIUM | bin/update_version.sh | 3 | #------------------------------------------------ |
| MEDIUM | bin/update_version.sh | 7 | #------------------------------------------------ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ol-core/src/main/java/cn/hutool/core/util/XmlUtil.java | 1441 | // This is the PRIMARY defense. If DTDs (doctypes) are disallowed, almost all XML entity attacks are prevented |
| LOW | …e/src/main/java/cn/hutool/core/img/gif/LZWEncoder.java | 21 | |
| LOW | …e/src/main/java/cn/hutool/core/img/gif/LZWEncoder.java | 61 | // prefix code / next character combination. We do a variant of Knuth's |
| LOW | .github/codeql-analysis.yml | 1 | # For most projects, this workflow file will not need changing; you simply need |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …l-jwt/src/test/java/cn/hutool/jwt/IssueI5QRUOTest.java | 26 | put("name", "John Doe"); |