Update usages

This commit is contained in:
Clément Fournier
2020-01-16 22:29:41 +01:00
parent 3062d59892
commit 741bb0b218

View File

@ -30,7 +30,7 @@ public class IdenticalCatchBranchesRule extends AbstractJavaRule {
private boolean areEquivalent(ASTCatchStatement st1, ASTCatchStatement st2) {
return hasSameSubTree(st1.getBlock(), st2.getBlock(), st1.getExceptionName(), st2.getExceptionName());
return hasSameSubTree(st1.getBody(), st2.getBody(), st1.getExceptionName(), st2.getExceptionName());
}