This commit is contained in:
Dennis Guse
2021-11-29 22:34:28 +01:00
parent b6d935cf34
commit 0d45efdf07
@@ -76,11 +76,7 @@ public class ActivityUtils {
arrayList.add(key); arrayList.add(key);
} }
} }
int[] result = new int[arrayList.size()]; return arrayList.stream().mapToInt(i -> i).toArray();
for (int i = 0; i < arrayList.size(); i++) {
result[i] = arrayList.get(i);
}
return result;
} }
}); });
} }