forked from phoedos/pmd
Merge branch 'fix-1501-oom' of https://github.com/fjalvingh/pmd into pr-103
This commit is contained in:
@@ -166,8 +166,8 @@ public Object visit(ASTClassOrInterfaceDeclaration node, Object data) {
|
||||
|
||||
entryStack.push( new Entry( node ) );
|
||||
super.visit( node, data );
|
||||
Entry classEntry = entryStack.pop();
|
||||
if ( showClassesComplexity ) {
|
||||
Entry classEntry = entryStack.pop();
|
||||
if ( classEntry.getComplexityAverage() >= reportLevel
|
||||
|| classEntry.highestDecisionPoints >= reportLevel ) {
|
||||
addViolation( data, node, new String[] {
|
||||
|
Reference in New Issue
Block a user