Skip to content

Commit c4c79b0

Browse files
Remove unused ObjectUtils#merge
Signed-off-by: Tobias Ibounig <tobias.ibounig@dynatrace.com>
1 parent a981c3f commit c4c79b0

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

src/main/java/dev/openfeature/sdk/internal/ObjectUtils.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package dev.openfeature.sdk.internal;
22

3-
import java.util.ArrayList;
4-
import java.util.Collection;
53
import java.util.List;
64
import java.util.Map;
75
import java.util.function.Supplier;
@@ -56,20 +54,4 @@ public static <T> T defaultIfNull(T source, Supplier<T> defaultValue) {
5654
}
5755
return source;
5856
}
59-
60-
/**
61-
* Concatenate a bunch of lists.
62-
*
63-
* @param sources bunch of lists.
64-
* @param <T> list type
65-
* @return resulting object
66-
*/
67-
@SafeVarargs
68-
public static <T> List<T> merge(Collection<T>... sources) {
69-
List<T> merged = new ArrayList<>();
70-
for (Collection<T> source : sources) {
71-
merged.addAll(source);
72-
}
73-
return merged;
74-
}
7557
}

0 commit comments

Comments
 (0)