Android ruleset: CallSuperLast rule now also checks for finish() redefinitions
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@6891 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
parent
2321376151
commit
ac439685fc
@ -5,6 +5,8 @@ Fixed bug 2317099 - False + in SimplifyCondition
|
||||
Fixed bug 2606609 - False "UnusedImports" positive in package-info.java
|
||||
Fixed bug 2645268 - ClassCastException in UselessOperationOnImmutable.getDeclaration
|
||||
|
||||
Android ruleset: CallSuperLast rule now also checks for finish() redefinitions
|
||||
|
||||
New rule:
|
||||
Controversial : AvoidLiteralsInIfCondition (patch 2591627)
|
||||
StrictExceptions : AvoidCatchingGenericException
|
||||
|
@ -70,6 +70,7 @@ To get better results, make sure that the auxclasspath is defined for type resol
|
||||
<value>
|
||||
<![CDATA[
|
||||
//MethodDeclaration[MethodDeclarator[
|
||||
@Image='finish' or
|
||||
@Image='onDestroy' or
|
||||
@Image='onPause' or
|
||||
@Image='onSaveInstanceState' or
|
||||
|
Loading…
x
Reference in New Issue
Block a user