mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
.trim() added
This commit is contained in:
@@ -76,8 +76,8 @@ private class DebugLogConfigureDialog(project: Project, categories: List<Pair<St
|
||||
.map({String::trim})
|
||||
*/
|
||||
.map {
|
||||
if (it.endsWith(TRACE_SUFFIX, ignoreCase = true)) Pair(it.dropLast(TRACE_SUFFIX.length), DebugLogManager.DebugLogLevel.TRACE)
|
||||
else Pair(it, DebugLogManager.DebugLogLevel.DEBUG)
|
||||
if (it.trim().endsWith(TRACE_SUFFIX, ignoreCase = true)) Pair(it.trim().dropLast(TRACE_SUFFIX.length), DebugLogManager.DebugLogLevel.TRACE)
|
||||
else Pair(it.trim(), DebugLogManager.DebugLogLevel.DEBUG)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user