Skip to content

Commit a22e1fb

Browse files
committed
remove logger
1 parent ed36225 commit a22e1fb

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

solver/src/main/kotlin/org/ucfs/descriptors/DescriptorsStorage.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
package org.ucfs.descriptors
22

3-
import io.github.oshai.kotlinlogging.KotlinLogging
43
import org.ucfs.parser.ParsingException
54

65
/**
76
* Collection of default descriptors
87
* @param VertexType - type of vertex in input graph
98
*/
109
open class DescriptorsStorage<VertexType> {
11-
private val logger = KotlinLogging.logger {}
12-
1310
/**
1411
* Collection of already handled descriptors, accessible via descriptor's hashcode
1512
*/
@@ -34,7 +31,6 @@ open class DescriptorsStorage<VertexType> {
3431
}
3532

3633
fun add(descriptor: Descriptor<VertexType>) {
37-
logger.debug { "+d:${descriptor.id}" }
3834
if (!handledDescriptors.contains(descriptor)) {
3935
descriptorsToHandle.addLast(descriptor)
4036
}

solver/src/main/kotlin/org/ucfs/parser/Gll.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package org.ucfs.parser
22

3-
import io.github.oshai.kotlinlogging.KotlinLogging
43
import org.ucfs.descriptors.Descriptor
54
import org.ucfs.gss.GssEdge
65
import org.ucfs.input.IInputGraph
@@ -19,7 +18,6 @@ import org.ucfs.sppf.node.*
1918
class Gll<VertexType, LabelType : ILabel> private constructor(
2019
override var ctx: Context<VertexType, LabelType>, private val engine: IIntersectionEngine
2120
) : IGll<VertexType, LabelType> {
22-
val logger = KotlinLogging.logger {}
2321

2422
companion object {
2523
/**
@@ -81,7 +79,6 @@ class Gll<VertexType, LabelType : ILabel> private constructor(
8179
*/
8280
override fun handleDescriptor(descriptor: Descriptor<VertexType>) {
8381
ctx.descriptors.addToHandled(descriptor)
84-
logger.debug { "\n${descriptor}\t" }
8582
if (descriptor.rsmState.isFinal) {
8683
handleTerminalRsmState(descriptor)
8784
}

solver/src/main/kotlin/org/ucfs/sppf/SppfStorage.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package org.ucfs.sppf
22

3-
import io.github.oshai.kotlinlogging.KotlinLogging
43
import org.ucfs.rsm.RsmState
54
import org.ucfs.rsm.symbol.ITerminal
65
import org.ucfs.sppf.node.*
@@ -9,7 +8,6 @@ import org.ucfs.sppf.node.*
98
* @param InputEdgeType - type of vertex in input graph
109
*/
1110
open class SppfStorage<InputEdgeType> {
12-
private val logger = KotlinLogging.logger {}
1311

1412
/**
1513
* Collection of created sppfNodes with access and search in O(1) time
@@ -20,7 +18,6 @@ open class SppfStorage<InputEdgeType> {
2018
private fun addNode(node: RangeSppfNode<InputEdgeType>): RangeSppfNode<InputEdgeType> {
2119

2220
val sppfNode = createdSppfNodes.getOrPut(node) { node }
23-
logger.debug{"+sppf:${sppfNode.id}, "}
2421
return sppfNode
2522
}
2623

0 commit comments

Comments
 (0)