change creation of performance counters

This commit is contained in:
Stanislav Erokhin
2015-06-18 20:56:57 +03:00
parent 9974423e2b
commit d830729ddb
4 changed files with 9 additions and 5 deletions
@@ -51,7 +51,7 @@ public class VirtualFileKotlinClass private constructor(
companion object Factory {
private val LOG = Logger.getInstance(javaClass<VirtualFileKotlinClass>())
private val perfCounter = PerformanceCounter("Binary class from Kotlin file")
private val perfCounter = PerformanceCounter.create("Binary class from Kotlin file")
deprecated("Use KotlinBinaryClassCache")
fun create(file: VirtualFile): VirtualFileKotlinClass? {