mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-08 06:37:58 +08:00
change method
This commit is contained in:
parent
b6003aea30
commit
6ffa827365
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
# 5.5.8 (2021-01-21)
|
# 5.5.8 (2021-01-22)
|
||||||
|
|
||||||
### 新特性
|
### 新特性
|
||||||
* 【extra 】 增加自动装配SpringUtil类(pr#1366@Github)
|
* 【extra 】 增加自动装配SpringUtil类(pr#1366@Github)
|
||||||
@ -12,6 +12,7 @@
|
|||||||
* 【core 】 补充StrUtil.padXXX注释(issue#I2E1S7@Gitee)
|
* 【core 】 补充StrUtil.padXXX注释(issue#I2E1S7@Gitee)
|
||||||
* 【core 】 修改上传文件检查逻辑
|
* 【core 】 修改上传文件检查逻辑
|
||||||
* 【core 】 修正LocalDateTimeUtil.offset方法注释问题(issue#I2EEXC@Gitee)
|
* 【core 】 修正LocalDateTimeUtil.offset方法注释问题(issue#I2EEXC@Gitee)
|
||||||
|
* 【extra 】 VelocityEngine的getRowEngine改为getRawEngine(issue#I2EGRG@Gitee)
|
||||||
|
|
||||||
### Bug修复
|
### Bug修复
|
||||||
* 【core 】 修复FileUtil.move以及PathUtil.copy等无法自动创建父目录的问题(issue#I2CKTI@Gitee)
|
* 【core 】 修复FileUtil.move以及PathUtil.copy等无法自动创建父目录的问题(issue#I2CKTI@Gitee)
|
||||||
|
@ -68,8 +68,20 @@ public class VelocityEngine implements TemplateEngine {
|
|||||||
*
|
*
|
||||||
* @return 原始引擎对象
|
* @return 原始引擎对象
|
||||||
* @since 4.3.0
|
* @since 4.3.0
|
||||||
|
* @deprecated 拼写错误了,请使用{@link #getRawEngine()}
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public org.apache.velocity.app.VelocityEngine getRowEngine() {
|
public org.apache.velocity.app.VelocityEngine getRowEngine() {
|
||||||
|
return getRawEngine();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取原始的引擎对象
|
||||||
|
*
|
||||||
|
* @return 原始引擎对象
|
||||||
|
* @since 5.5.8
|
||||||
|
*/
|
||||||
|
public org.apache.velocity.app.VelocityEngine getRawEngine() {
|
||||||
return this.engine;
|
return this.engine;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -318,4 +318,11 @@ public class HttpUtilTest {
|
|||||||
final String s = HttpUtil.get(url);
|
final String s = HttpUtil.get(url);
|
||||||
Console.log(s);
|
Console.log(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void tjhrTest(){
|
||||||
|
String url = "https://www.51tjhr.com";
|
||||||
|
final String s = HttpUtil.get(url);
|
||||||
|
Console.log(s);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user