From 41d1415cf5078bf1c70ba059594c9695e59471ae Mon Sep 17 00:00:00 2001 From: Looly Date: Fri, 31 Mar 2023 03:38:11 +0800 Subject: [PATCH] fix code --- .../cn/hutool/extra/management/JavaInfo.java | 22 +++++-------------- .../java/cn/hutool/http/HttpUtilTest.java | 2 +- hutool-poi/pom.xml | 2 +- pom.xml | 5 +++++ 4 files changed, 13 insertions(+), 18 deletions(-) diff --git a/hutool-extra/src/main/java/cn/hutool/extra/management/JavaInfo.java b/hutool-extra/src/main/java/cn/hutool/extra/management/JavaInfo.java index b3f3f0253..3872ef313 100644 --- a/hutool-extra/src/main/java/cn/hutool/extra/management/JavaInfo.java +++ b/hutool-extra/src/main/java/cn/hutool/extra/management/JavaInfo.java @@ -313,15 +313,10 @@ public class JavaInfo implements Serializable { } /** - * 判定当前Java的版本是否大于等于指定的版本号。 - * - *

- * 例如: - *

- * + * 判定当前Java的版本是否大于等于指定的版本号,例如: *

* * @param requiredVersion 需要的版本 @@ -332,15 +327,10 @@ public class JavaInfo implements Serializable { } /** - * 判定当前Java的版本是否大于等于指定的版本号。 - * - *

- * 例如: - *

- * + * 判定当前Java的版本是否大于等于指定的版本号,例如: *

* * @param requiredVersion 需要的版本 diff --git a/hutool-http/src/test/java/cn/hutool/http/HttpUtilTest.java b/hutool-http/src/test/java/cn/hutool/http/HttpUtilTest.java index b24772da4..f17f00d3f 100755 --- a/hutool-http/src/test/java/cn/hutool/http/HttpUtilTest.java +++ b/hutool-http/src/test/java/cn/hutool/http/HttpUtilTest.java @@ -105,7 +105,7 @@ public class HttpUtilTest { } @Test - //@Disabled + @Disabled public void patchTest() { // 验证patch请求是否可用 final String body = HttpUtil.send(Request.of("https://hutool.cn").method(Method.PATCH)).bodyStr(); diff --git a/hutool-poi/pom.xml b/hutool-poi/pom.xml index f43dbf0ec..358c9585b 100755 --- a/hutool-poi/pom.xml +++ b/hutool-poi/pom.xml @@ -64,7 +64,7 @@ org.ofdrw ofdrw-full - 1.20.2 + 2.0.4 compile true diff --git a/pom.xml b/pom.xml index 43ead1817..c20e2af9d 100755 --- a/pom.xml +++ b/pom.xml @@ -106,6 +106,11 @@ -Xlint:unchecked + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0 + org.apache.maven.plugins maven-jar-plugin