This commit is contained in:
Looly
2022-06-21 18:42:52 +08:00
parent 8080a1cd83
commit 1ee014bdae
123 changed files with 275 additions and 270 deletions

View File

@@ -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();
}

View File

@@ -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();
}

View File

@@ -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);