ProjectConfig sections refactoring
Add a new class RefConfigSection to be superclass for some sections in project.config file. This is a preparation to include "Merge Strategy per branch" feature which will add another section to project.config file. Change-Id: I559aad8325358823471665b24186470a76aaf967
This commit is contained in:
committed by
Gustaf Lundh
parent
040834ffc4
commit
45fd656895
@@ -33,7 +33,7 @@ import java.util.regex.Pattern;
|
||||
abstract class SectionMatcher {
|
||||
static SectionMatcher wrap(AccessSection section) {
|
||||
String ref = section.getName();
|
||||
if (AccessSection.isAccessSection(ref)) {
|
||||
if (AccessSection.isValid(ref)) {
|
||||
return wrap(ref, section);
|
||||
} else {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user