aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/utils/CollectionUtils.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-03-06 04:18:21 +0800
committershedaniel <daniel@shedaniel.me>2020-03-06 04:18:21 +0800
commit12223ae029f3d206ebb19ba0cd134e3c36827315 (patch)
tree85c1743dfb0855aef23855a92240279a0a019eec /src/main/java/me/shedaniel/rei/utils/CollectionUtils.java
parent2bf1e9f370a4c52a61575f0405425a51c670abed (diff)
downloadRoughlyEnoughItems-12223ae029f3d206ebb19ba0cd134e3c36827315.tar.gz
RoughlyEnoughItems-12223ae029f3d206ebb19ba0cd134e3c36827315.tar.bz2
RoughlyEnoughItems-12223ae029f3d206ebb19ba0cd134e3c36827315.zip
3.0.7
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/main/java/me/shedaniel/rei/utils/CollectionUtils.java')
-rw-r--r--src/main/java/me/shedaniel/rei/utils/CollectionUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/utils/CollectionUtils.java b/src/main/java/me/shedaniel/rei/utils/CollectionUtils.java
index 39db4c7bf..c67d6f26a 100644
--- a/src/main/java/me/shedaniel/rei/utils/CollectionUtils.java
+++ b/src/main/java/me/shedaniel/rei/utils/CollectionUtils.java
@@ -50,7 +50,7 @@ public class CollectionUtils {
return null;
}
- public static <T,R> List<R> castAndMap(List<T> list, Class<R> castClass) {
+ public static <T, R> List<R> castAndMap(List<T> list, Class<R> castClass) {
List<R> l = new ArrayList<>();
for (T t : list) {
if (castClass.isAssignableFrom(t.getClass()))