Fix deprecated Interner/StringInterner usages after update to 202
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
package org.jetbrains.kotlin.utils
|
||||
|
||||
import com.intellij.util.containers.Interner
|
||||
|
||||
fun createStringInterner(): Interner<String> =
|
||||
Interner.createStringInterner()
|
||||
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
package org.jetbrains.kotlin.utils
|
||||
|
||||
import com.intellij.util.containers.Interner
|
||||
import com.intellij.util.containers.StringInterner
|
||||
|
||||
fun createStringInterner(): Interner<String> =
|
||||
StringInterner()
|
||||
Reference in New Issue
Block a user