From f3f188e33bbbf7b1f7f440bdf16cf10c3c52e86a Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Sat, 22 Oct 2016 17:44:46 +0200 Subject: [PATCH] IG: name & text tweaks --- .../src/com/siyeh/InspectionGadgetsBundle.properties | 4 ++-- .../BeforeClassOrAfterClassIsPublicStaticVoidNoArg.html | 8 ++++---- .../BeforeOrAfterIsPublicVoidNoArg.html | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/InspectionGadgetsBundle.properties b/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/InspectionGadgetsBundle.properties index 909ec9c25696..9b9a0cdcfac0 100644 --- a/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/InspectionGadgetsBundle.properties +++ b/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/InspectionGadgetsBundle.properties @@ -689,7 +689,7 @@ trivial.if.display.name=Redundant 'if' statement thread.with.default.run.method.display.name=Instantiating a Thread with default 'run()' method while.loop.spins.on.field.display.name='while' loop spins on field object.equals.null.display.name=Object.equals(null) -test.method.is.public.void.no.arg.display.name=Test method with incorrect signature +test.method.is.public.void.no.arg.display.name=Malformed test method if.statement.with.identical.branches.display.name='if' statement with identical branches multiple.return.points.per.method.display.name=Method with multiple return points break.statement.with.label.display.name='break' statement with label @@ -2191,7 +2191,7 @@ single.element.annotation.family.quickfix=Expand annotation to normal form array.creation.without.new.keyword.name=Array creation without 'new' expression array.creation.without.new.keyword.quickfix=Add ''new {0}'' array.creation.without.new.keyword.family.quickfix=Add 'new' expression -malformed.set.up.tear.down.display.name=Malformed 'setUp()' or 'tearDown()' +malformed.set.up.tear.down.display.name=Malformed 'setUp()' or 'tearDown()' method malformed.set.up.tear.down.problem.descriptor='#ref()' has incorrect signature #loc method.missing.return.statement.display.name=Method contains logic but is missing a 'return' statement method.missing.return.statement.problem.descriptor=Method #ref contains logic but is missing a 'return' statement diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BeforeClassOrAfterClassIsPublicStaticVoidNoArg.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BeforeClassOrAfterClassIsPublicStaticVoidNoArg.html index ee9e9f537f6e..229596a53356 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BeforeClassOrAfterClassIsPublicStaticVoidNoArg.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BeforeClassOrAfterClassIsPublicStaticVoidNoArg.html @@ -1,9 +1,9 @@ -Reports JUnit 4.0 @BeforeClass or @AfterClass method -is not declared -public static, does not return void, or takes arguments. -Such methods are easy to create inadvertently, and will not be executed by JUnit tests runners. +Reports JUnit 4.0 @BeforeClass or @AfterClass methods +which are not declared +public and static, do not return void, or take arguments. +Such methods are easy to create inadvertently, but will not be executed by JUnit tests runners.

diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BeforeOrAfterIsPublicVoidNoArg.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BeforeOrAfterIsPublicVoidNoArg.html index 114d465101a0..b3c19acf5d29 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BeforeOrAfterIsPublicVoidNoArg.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BeforeOrAfterIsPublicVoidNoArg.html @@ -1,9 +1,9 @@ -Reports JUnit 4.0 @Before or @After method -is not declared -public, does not return void, or takes arguments. -Such methods are easy to create inadvertently, and will not be executed by JUnit tests runners. +Reports JUnit 4.0 @Before or @After methods +which are not declared +public, do not return void, or take arguments. +Such methods are easy to create inadvertently, but will not be executed by JUnit tests runners.