mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
*/
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.execution.configurations
|
||||
|
||||
import com.intellij.openapi.components.BaseState
|
||||
@@ -125,13 +123,9 @@ class LogFileOptions : BaseState {
|
||||
}
|
||||
|
||||
private class PathConverter : Converter<String>() {
|
||||
override fun fromString(value: String): String? {
|
||||
return FileUtilRt.toSystemDependentName(value)
|
||||
}
|
||||
override fun fromString(value: String) = FileUtilRt.toSystemDependentName(value)
|
||||
|
||||
override fun toString(value: String): String {
|
||||
return FileUtilRt.toSystemIndependentName(value)
|
||||
}
|
||||
override fun toString(value: String) = FileUtilRt.toSystemIndependentName(value)
|
||||
}
|
||||
|
||||
private class CharsetConverter : Converter<Charset>() {
|
||||
@@ -142,10 +136,7 @@ private class CharsetConverter : Converter<Charset>() {
|
||||
catch (ignored: Exception) {
|
||||
Charset.defaultCharset()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
override fun toString(value: Charset): String {
|
||||
return value.name()
|
||||
}
|
||||
override fun toString(value: Charset) = value.name()
|
||||
}
|
||||
Reference in New Issue
Block a user