mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
🐞修复JSONStrFormatter:format函数对于转义符号处理逻辑错误问题
This commit is contained in:
@@ -32,7 +32,7 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 基于 Apache FtpServer(http://mina.apache.org/ftpserver-project/)的FTP服务端简单封装。
|
||||
* 基于 Apache FtpServer(http://apache.apache.org/ftpserver-project/)的FTP服务端简单封装。
|
||||
*
|
||||
* @author looly
|
||||
* @since 5.5.0
|
||||
|
@@ -66,7 +66,7 @@ public class ArchiverTest {
|
||||
public void sevenZTest() {
|
||||
final File file = FileUtil.file("d:/test/compress/test.7z");
|
||||
CompressUtil.createArchiver(CharsetUtil.UTF_8, ArchiveStreamFactory.SEVEN_Z, file)
|
||||
.add(FileUtil.file("d:/Java/mina-maven-3.8.1"), (f) -> {
|
||||
.add(FileUtil.file("d:/Java/apache-maven-3.8.1"), (f) -> {
|
||||
Console.log("Add: {}", f.getPath());
|
||||
return true;
|
||||
})
|
||||
@@ -78,7 +78,7 @@ public class ArchiverTest {
|
||||
public void tgzTest() {
|
||||
final File file = FileUtil.file("d:/test/compress/test.tgz");
|
||||
CompressUtil.createArchiver(CharsetUtil.UTF_8, "tgz", file)
|
||||
.add(FileUtil.file("d:/Java/mina-maven-3.8.1"), (f) -> {
|
||||
.add(FileUtil.file("d:/Java/apache-maven-3.8.1"), (f) -> {
|
||||
Console.log("Add: {}", f.getPath());
|
||||
return true;
|
||||
})
|
||||
|
Reference in New Issue
Block a user