Fixed a typo in the name of the ParamertizedString class.
Renamed ParamertizedString to ParameterizedString and also ParamertizedStringTest to ParameterizedStringTest. Change-Id: I1d6998b279b37e04e0d5db69ee271c9e7e621517
This commit is contained in:
@@ -17,7 +17,7 @@ package com.google.gerrit.server.project;
|
||||
import static com.google.gerrit.server.project.RefControl.isRE;
|
||||
|
||||
import com.google.gerrit.common.data.AccessSection;
|
||||
import com.google.gerrit.common.data.ParamertizedString;
|
||||
import com.google.gerrit.common.data.ParameterizedString;
|
||||
|
||||
import dk.brics.automaton.Automaton;
|
||||
|
||||
@@ -106,12 +106,12 @@ abstract class SectionMatcher {
|
||||
}
|
||||
|
||||
static class ExpandParameters extends SectionMatcher {
|
||||
private final ParamertizedString template;
|
||||
private final ParameterizedString template;
|
||||
private final String prefix;
|
||||
|
||||
ExpandParameters(String pattern, AccessSection section) {
|
||||
super(section);
|
||||
template = new ParamertizedString(pattern);
|
||||
template = new ParameterizedString(pattern);
|
||||
|
||||
if (isRE(pattern)) {
|
||||
// Replace ${username} with ":USERNAME:" as : is not legal
|
||||
|
Reference in New Issue
Block a user