mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
update dependency
This commit is contained in:
parent
b435777afc
commit
35fb058487
@ -695,7 +695,7 @@ public class DateUtil {
|
|||||||
// ------------------------------------ Parse start ----------------------------------------------
|
// ------------------------------------ Parse start ----------------------------------------------
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 构建LocalDateTime对象<br/>
|
* 构建LocalDateTime对象<br>
|
||||||
* 格式:yyyy-MM-dd HH:mm:ss
|
* 格式:yyyy-MM-dd HH:mm:ss
|
||||||
*
|
*
|
||||||
* @param dateStr 时间字符串(带格式)
|
* @param dateStr 时间字符串(带格式)
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
package cn.hutool.core.util;
|
package cn.hutool.core.util;
|
||||||
|
|
||||||
import cn.hutool.core.collection.CollUtil;
|
import cn.hutool.core.collection.CollUtil;
|
||||||
import cn.hutool.core.lang.Console;
|
|
||||||
import cn.hutool.core.map.MapBuilder;
|
import cn.hutool.core.map.MapBuilder;
|
||||||
import cn.hutool.core.map.MapUtil;
|
import cn.hutool.core.map.MapUtil;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
@ -78,7 +77,6 @@ public class XmlUtilTest {
|
|||||||
+ "<newNode><sub>subText</sub></newNode>"//
|
+ "<newNode><sub>subText</sub></newNode>"//
|
||||||
+ "</returnsms>";
|
+ "</returnsms>";
|
||||||
Map<String, Object> map = XmlUtil.xmlToMap(xml);
|
Map<String, Object> map = XmlUtil.xmlToMap(xml);
|
||||||
Console.log(map);
|
|
||||||
|
|
||||||
Assert.assertEquals(6, map.size());
|
Assert.assertEquals(6, map.size());
|
||||||
Assert.assertEquals("Success", map.get("returnstatus"));
|
Assert.assertEquals("Success", map.get("returnstatus"));
|
||||||
|
@ -120,7 +120,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.postgresql</groupId>
|
<groupId>org.postgresql</groupId>
|
||||||
<artifactId>postgresql</artifactId>
|
<artifactId>postgresql</artifactId>
|
||||||
<version>42.2.9.jre7</version>
|
<version>42.2.10.jre7</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
2
pom.xml
2
pom.xml
@ -43,7 +43,7 @@
|
|||||||
<!-- versions -->
|
<!-- versions -->
|
||||||
<compile.version>8</compile.version>
|
<compile.version>8</compile.version>
|
||||||
<junit.version>4.13</junit.version>
|
<junit.version>4.13</junit.version>
|
||||||
<lombok.version>1.18.10</lombok.version>
|
<lombok.version>1.18.12</lombok.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user