Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit44b6464

Browse files
committed
Ooops forgot static
1 parent84bda82 commit44b6464

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ allprojects {
2121

2222
// Using Jitpack so I need the repo name in the group to match.
2323
group='com.stubbornjava.StubbornJava'
24-
version='0.1.28-SNAPSHOT'
24+
version='0.1.29-SNAPSHOT'
2525

2626
repositories {
2727
mavenLocal()

‎stubbornjava-common/src/main/java/com/stubbornjava/common/Configs.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ public static Map<String, Object> asMap(Config config) {
4545
.toMap(e ->e.getKey(),e ->e.getValue().unwrapped());
4646
}
4747

48-
public <T>TgetOrDefault(Configconfig,Stringpath,Function<Config,T>extractor,TdefaultValue) {
48+
publicstatic<T>TgetOrDefault(Configconfig,Stringpath,Function<Config,T>extractor,TdefaultValue) {
4949
if (config.hasPath(path)) {
5050
returnextractor.apply(config);
5151
}
5252
returndefaultValue;
5353
}
5454

55-
public <T>TgetOrDefault(Configconfig,Stringpath,Function<Config,T>extractor,Supplier<T>defaultSupplier) {
55+
publicstatic<T>TgetOrDefault(Configconfig,Stringpath,Function<Config,T>extractor,Supplier<T>defaultSupplier) {
5656
if (config.hasPath(path)) {
5757
returnextractor.apply(config);
5858
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp