mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix CopyrightManagerTest
This commit is contained in:
@@ -82,13 +82,13 @@ class CopyrightManager @JvmOverloads constructor(private val project: Project, s
|
||||
|
||||
override fun isSchemeFile(name: CharSequence) = !StringUtil.equals(name, "profiles_settings.xml")
|
||||
|
||||
override fun getSchemeKey(attributeProvider: Function<String, String?>, fileNameWithoutExtension: String): String? {
|
||||
override fun getSchemeKey(attributeProvider: Function<String, String?>, fileNameWithoutExtension: String): String {
|
||||
val schemeKey = super.getSchemeKey(attributeProvider, fileNameWithoutExtension)
|
||||
if (schemeKey != null) {
|
||||
return schemeKey
|
||||
}
|
||||
LOG.warn("Name is not specified for scheme $fileNameWithoutExtension, file name will be used instead")
|
||||
return schemeKey
|
||||
return fileNameWithoutExtension
|
||||
}
|
||||
}, schemeNameToFileName = OLD_NAME_CONVERTER, streamProvider = schemeManagerIprProvider)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user