aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/ca/allanwang/kau/kotlin/Streams.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-06-06 16:34:18 -0400
committerGitHub <noreply@github.com>2019-06-06 16:34:18 -0400
commitb9feba20d45505a22162c386e18dfc1a4f117d3f (patch)
tree38959c2d31d9a523523210e42e895a1470a2c2c4 /core/src/main/kotlin/ca/allanwang/kau/kotlin/Streams.kt
parentf55d10118b296f5927b786778d42c4a1e072b5dd (diff)
parentefae24a43ba6f861442a485ddff49afd65559eb4 (diff)
downloadkau-4.1.0.tar.gz
kau-4.1.0.tar.bz2
kau-4.1.0.zip
Merge pull request #197 from AllanWang/enhancement/permissions4.1.0
Enhancement/permissions
Diffstat (limited to 'core/src/main/kotlin/ca/allanwang/kau/kotlin/Streams.kt')
-rw-r--r--core/src/main/kotlin/ca/allanwang/kau/kotlin/Streams.kt1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/main/kotlin/ca/allanwang/kau/kotlin/Streams.kt b/core/src/main/kotlin/ca/allanwang/kau/kotlin/Streams.kt
index bfa73fd..65d15a7 100644
--- a/core/src/main/kotlin/ca/allanwang/kau/kotlin/Streams.kt
+++ b/core/src/main/kotlin/ca/allanwang/kau/kotlin/Streams.kt
@@ -24,7 +24,6 @@ package ca.allanwang.kau.kotlin
* Since we don't have access to the internals of our extended class,
* We will simply iterate and remove when the filter returns {@code false}
*/
-@Synchronized
inline fun <T, C : MutableIterable<T>> C.kauRemoveIf(filter: (item: T) -> Boolean): C {
val iter = iterator()
while (iter.hasNext())