remove usages of .parallelStream
This commit is contained in:
parent
67c253f2f0
commit
7dc23b1279
|
@ -73,7 +73,7 @@ object AccessWidener {
|
|||
|
||||
private fun readAllAWs(project: Project): Stream<Entry> {
|
||||
return Stream.concat(
|
||||
findDependencyAWs(project).parallelStream().flatMap { i -> readTransitiveAW(i) },
|
||||
findDependencyAWs(project).stream().flatMap { i -> readTransitiveAW(i) },
|
||||
readAW(project)
|
||||
)
|
||||
.filter { it.isNotBlank() }
|
||||
|
@ -141,7 +141,7 @@ object AccessWidener {
|
|||
}
|
||||
|
||||
FileSystems.newFileSystem(input).use {
|
||||
classNames.parallelStream().forEach { className ->
|
||||
classNames.forEach { className ->
|
||||
val file = it.getPath("/$className.class")
|
||||
if (file.exists()) {
|
||||
val reader = ClassReader(file.readBytes())
|
||||
|
|
Loading…
Reference in a new issue