Fix and rename WorkerPool package
Change-Id: I2bc9295947aab2e05253c7e214ed9b5a714e2b38
diff --git a/app/src/main/kotlin/de/ids_mannheim/korapxmltools/WorkerPool.kt b/app/src/main/kotlin/de/ids_mannheim/korapxmltools/AnnotationWorkerPool.kt
similarity index 97%
rename from app/src/main/kotlin/de/ids_mannheim/korapxmltools/WorkerPool.kt
rename to app/src/main/kotlin/de/ids_mannheim/korapxmltools/AnnotationWorkerPool.kt
index a8d76c1..f4f2bba 100644
--- a/app/src/main/kotlin/de/ids_mannheim/korapxmltools/WorkerPool.kt
+++ b/app/src/main/kotlin/de/ids_mannheim/korapxmltools/AnnotationWorkerPool.kt
@@ -1,3 +1,5 @@
+package de.ids_mannheim.korapxmltools
+
import java.io.*
import java.lang.Thread.sleep
import java.util.concurrent.BlockingQueue
@@ -127,7 +129,7 @@
fun main() {
val command = "cat"
val numWorkers = 3
- val workerPool = WorkerPool(command, numWorkers, Logger.getLogger("WorkerPool") )
+ val workerPool = WorkerPool(command, numWorkers, Logger.getLogger("de.ids_mannheim.korapxmltools.WorkerPool") )
val texts = listOf("The", "World", "This", "Is", "A", "Test")
diff --git a/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXml2Conllu.kt b/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXml2Conllu.kt
index bc12b82..4fbe375 100644
--- a/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXml2Conllu.kt
+++ b/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXml2Conllu.kt
@@ -1,6 +1,5 @@
package de.ids_mannheim.korapxmltools
-import WorkerPool
import org.w3c.dom.Document
import org.w3c.dom.Element
import org.w3c.dom.NodeList