Enable and fix 'Statement unnecessarily nested within else clause' warnings
Change-Id: Ida6df4593fc2ab3c11581309b2b4a638229ea093
This commit is contained in:
@@ -29,9 +29,8 @@ class SectionMatcher extends RefPatternMatcher {
|
||||
String ref = section.getName();
|
||||
if (AccessSection.isValid(ref)) {
|
||||
return new SectionMatcher(project, section, getMatcher(ref));
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
final Project.NameKey project;
|
||||
|
||||
Reference in New Issue
Block a user