From 91f9b3c2dcee00042c0c54700ccffb46bd0eeb91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Thu, 26 May 2016 16:17:23 +0200 Subject: [PATCH] RegistryPropertiesAnnotator: cleanup (use const) --- .../devkit/src/inspections/RegistryPropertiesAnnotator.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/devkit/src/inspections/RegistryPropertiesAnnotator.kt b/plugins/devkit/src/inspections/RegistryPropertiesAnnotator.kt index b0796533f882..bb306f349100 100644 --- a/plugins/devkit/src/inspections/RegistryPropertiesAnnotator.kt +++ b/plugins/devkit/src/inspections/RegistryPropertiesAnnotator.kt @@ -93,13 +93,13 @@ class RegistryPropertiesAnnotator : Annotator { companion object { @NonNls - private val REGISTRY_PROPERTIES_FILENAME = "registry.properties" + const val REGISTRY_PROPERTIES_FILENAME = "registry.properties" @NonNls - private val DESCRIPTION_SUFFIX = ".description" + const val DESCRIPTION_SUFFIX = ".description" @NonNls - private val RESTART_REQUIRED_SUFFIX = ".restartRequired" + const val RESTART_REQUIRED_SUFFIX = ".restartRequired" @JvmStatic fun isImplicitUsageKey(keyName: String): Boolean { return StringUtil.endsWith(keyName, DESCRIPTION_SUFFIX) || StringUtil.endsWith(keyName, RESTART_REQUIRED_SUFFIX)