mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -63,7 +63,7 @@ public class Setting extends AbsSetting implements Map<String, String> {
|
||||
* @return Setting
|
||||
* @since 5.4.3
|
||||
*/
|
||||
public static Setting create() {
|
||||
public static Setting of() {
|
||||
return new Setting();
|
||||
}
|
||||
|
||||
|
@@ -55,7 +55,7 @@ public final class Props extends Properties implements BasicTypeGetter<String>,
|
||||
* @return Setting
|
||||
* @since 5.4.3
|
||||
*/
|
||||
public static Props create() {
|
||||
public static Props of() {
|
||||
return new Props();
|
||||
}
|
||||
|
||||
|
@@ -25,7 +25,7 @@ public class YamlUtilTest {
|
||||
@Test
|
||||
@Ignore
|
||||
public void dumpTest() {
|
||||
final Dict dict = Dict.create()
|
||||
final Dict dict = Dict.of()
|
||||
.set("name", "hutool")
|
||||
.set("count", 1000);
|
||||
|
||||
|
Reference in New Issue
Block a user