Home > Contributions > PMD

Contribution Correctif sur une règle PMD

Le cas

if(test) {
  return !a;
} else {
  return a; 
} 

 

n'était pas traité par la règle SimpleBooleanReturn

Link :
This contribution has been submitted on 2008-01-29 by Rémy-Christophe Schermesser and its has been approved on 2008-02-04 .
This patch has been made for version 4.1