Code cleanup: protected is effectively private
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ class CliAndroidLayoutXmlFileManager(
|
||||
return resources
|
||||
}
|
||||
|
||||
protected fun initSAX(): SAXParser {
|
||||
private fun initSAX(): SAXParser {
|
||||
val saxFactory = SAXParserFactory.newInstance()
|
||||
saxFactory.isNamespaceAware = true
|
||||
return saxFactory.newSAXParser()
|
||||
|
||||
@@ -188,7 +188,7 @@ open class ApiDetector : Detector(), UastScanner {
|
||||
|| fqName.startsWith("dalvik.")
|
||||
}
|
||||
|
||||
protected fun getMinSdk(context: UastAndroidContext): Int {
|
||||
private fun getMinSdk(context: UastAndroidContext): Int {
|
||||
if (mMinApi == -1) {
|
||||
val minSdkVersion = context.lintContext.mainProject.minSdkVersion
|
||||
mMinApi = minSdkVersion.featureLevel
|
||||
|
||||
Reference in New Issue
Block a user