mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
java: remove extra spaces in test data for KtSuspiciousPackagePrivateAccessInspectionTest
GitOrigin-RevId: 35693ab197b92fa2e646b9632b777fc6c0f843c6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
37b1c312fc
commit
75d7a92ffd
@@ -27,16 +27,16 @@ class AccessingProtectedMembersFromSubclass : ProtectedMembers() {
|
||||
|
||||
val runnable = object : Runnable {
|
||||
override fun run() {
|
||||
<warning descr ="Method ProtectedMembers.method() is protected and used not through a subclass here, but declared in a different module 'dep'">method</warning>()
|
||||
<warning descr ="Method ProtectedMembers.staticMethod() is protected and used not through a subclass here, but declared in a different module 'dep'">staticMethod</warning>()
|
||||
<warning descr="Method ProtectedMembers.method() is protected and used not through a subclass here, but declared in a different module 'dep'">method</warning>()
|
||||
<warning descr="Method ProtectedMembers.staticMethod() is protected and used not through a subclass here, but declared in a different module 'dep'">staticMethod</warning>()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private val runnable = object : Runnable {
|
||||
override fun run() {
|
||||
<warning descr ="Method ProtectedMembers.method() is protected and used not through a subclass here, but declared in a different module 'dep'">method</warning>()
|
||||
<warning descr ="Method ProtectedMembers.staticMethod() is protected and used not through a subclass here, but declared in a different module 'dep'">staticMethod</warning>()
|
||||
<warning descr="Method ProtectedMembers.method() is protected and used not through a subclass here, but declared in a different module 'dep'">method</warning>()
|
||||
<warning descr="Method ProtectedMembers.staticMethod() is protected and used not through a subclass here, but declared in a different module 'dep'">staticMethod</warning>()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,8 +48,8 @@ class AccessingProtectedMembersFromSubclass : ProtectedMembers() {
|
||||
|
||||
private inner class OwnInnerClass {
|
||||
fun bar() {
|
||||
<warning descr ="Method ProtectedMembers.method() is protected and used not through a subclass here, but declared in a different module 'dep'">method</warning>()
|
||||
<warning descr ="Method ProtectedMembers.staticMethod() is protected and used not through a subclass here, but declared in a different module 'dep'">staticMethod</warning>()
|
||||
<warning descr="Method ProtectedMembers.method() is protected and used not through a subclass here, but declared in a different module 'dep'">method</warning>()
|
||||
<warning descr="Method ProtectedMembers.staticMethod() is protected and used not through a subclass here, but declared in a different module 'dep'">staticMethod</warning>()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -69,7 +69,7 @@ class AccessingProtectedMembersFromObjectLiteral {
|
||||
method()
|
||||
object : Runnable {
|
||||
override fun run() {
|
||||
<warning descr ="Method ProtectedMembers.method() is protected and used not through a subclass here, but declared in a different module 'dep'">method</warning>()
|
||||
<warning descr="Method ProtectedMembers.method() is protected and used not through a subclass here, but declared in a different module 'dep'">method</warning>()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,8 +7,8 @@ class AccessingProtectedKotlinMembersFromObjectLiteral {
|
||||
fun bar2() {
|
||||
object : Runnable {
|
||||
override fun run() {
|
||||
<warning descr ="Function ProtectedMembersKotlin.foo() is protected and used not through a subclass here, but declared in a different module 'dep'">foo</warning>()
|
||||
val s2 = <warning descr = "Property ProtectedMembersKotlin.property is protected and used not through a subclass here, but declared in a different module 'dep'">property</warning>
|
||||
<warning descr="Function ProtectedMembersKotlin.foo() is protected and used not through a subclass here, but declared in a different module 'dep'">foo</warning>()
|
||||
val s2 = <warning descr="Property ProtectedMembersKotlin.property is protected and used not through a subclass here, but declared in a different module 'dep'">property</warning>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -23,8 +23,8 @@ class AccessingProtectedMembersFromKotlin : ProtectedMembersKotlin() {
|
||||
val s = property
|
||||
object : Runnable {
|
||||
override fun run() {
|
||||
<warning descr ="Function ProtectedMembersKotlin.foo() is protected and used not through a subclass here, but declared in a different module 'dep'">foo</warning>()
|
||||
val s2 = <warning descr = "Property ProtectedMembersKotlin.property is protected and used not through a subclass here, but declared in a different module 'dep'">property</warning>
|
||||
<warning descr="Function ProtectedMembersKotlin.foo() is protected and used not through a subclass here, but declared in a different module 'dep'">foo</warning>()
|
||||
val s2 = <warning descr="Property ProtectedMembersKotlin.property is protected and used not through a subclass here, but declared in a different module 'dep'">property</warning>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user