Skip to content

Commit 4adecf0

Browse files
authored
Merge pull request github#13586 from igfoo/igfoo/diag-limit
Kotlin: Remove an out-of-date comment
2 parents b0d2ca5 + d588f52 commit 4adecf0

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(dtw, severity, "Limit", message, message)

0 commit comments

Comments
 (0)