Skip to content

Commit d588f52

Browse files
committed
Kotlin: Remove an out-of-date comment
1 parent 2104507 commit d588f52

File tree

1 file changed

+0
-3
lines changed
  • java/kotlin-extractor/src/main/kotlin/utils

1 file changed

+0
-3
lines changed

java/kotlin-extractor/src/main/kotlin/utils/Logger.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,6 @@ open class LoggerBase(val logCounter: LogCounter) {
204204
val severity = info.first
205205
val count = info.second
206206
if(count >= logCounter.diagnosticLimit) {
207-
// We don't know if this location relates to an error
208-
// or a warning, so we just declare hitting the limit
209-
// to be an error regardless.
210207
val message = "Total of $count diagnostics (reached limit of ${logCounter.diagnosticLimit}) from $caller."
211208
if (verbosity >= 1) {
212209
emitDiagnostic(tw, severity, "Limit", message, message)

0 commit comments

Comments
 (0)