mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove useless !! for notnull method invocations
GitOrigin-RevId: 9fe6335666e08b33fa85d92fe5b16ed3708cc673
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2e4e3f4859
commit
10af1d8574
+3
-3
@@ -52,11 +52,11 @@ class DuplicateExpressionsFixTest : LightJavaCodeInsightFixtureTestCase() {
|
||||
}
|
||||
|
||||
private fun introduce(expr: String) =
|
||||
InspectionsBundle.message("inspection.duplicate.expressions.introduce.variable.fix.name", expr)!!
|
||||
InspectionsBundle.message("inspection.duplicate.expressions.introduce.variable.fix.name", expr)
|
||||
|
||||
private fun reuse(name: String, expr: String) =
|
||||
InspectionsBundle.message("inspection.duplicate.expressions.reuse.variable.fix.name", name, expr)!!
|
||||
InspectionsBundle.message("inspection.duplicate.expressions.reuse.variable.fix.name", name, expr)
|
||||
|
||||
private fun replace(name: String, expr: String) =
|
||||
InspectionsBundle.message("inspection.duplicate.expressions.replace.other.occurrences.fix.name", name, expr)!!
|
||||
InspectionsBundle.message("inspection.duplicate.expressions.replace.other.occurrences.fix.name", name, expr)
|
||||
}
|
||||
|
||||
+3
-3
@@ -25,9 +25,9 @@ import org.intellij.lang.annotations.Language
|
||||
* @author Pavel.Dolgov
|
||||
*/
|
||||
class Java9ModuleExportsPackageToItselfTest : LightJava9ModulesCodeInsightFixtureTestCase() {
|
||||
private val message = InspectionsBundle.message("inspection.module.exports.package.to.itself")!!
|
||||
private val fix1 = InspectionsBundle.message("exports.to.itself.delete.statement.fix")!!
|
||||
private val fix2 = InspectionsBundle.message("exports.to.itself.delete.module.ref.fix", "M")!!
|
||||
private val message = InspectionsBundle.message("inspection.module.exports.package.to.itself")
|
||||
private val fix1 = InspectionsBundle.message("exports.to.itself.delete.statement.fix")
|
||||
private val fix2 = InspectionsBundle.message("exports.to.itself.delete.module.ref.fix", "M")
|
||||
|
||||
override fun setUp() {
|
||||
super.setUp()
|
||||
|
||||
Reference in New Issue
Block a user