/** * Returns whether the given {@link TemplateVariable} is logically equivalent to the given one. This considers request * parameter variables equivalent independently from whether they're continued or not. * * @param variable * @return */ boolean isEquivalent(TemplateVariable variable) { return this.name.equals(variable.name) && isCombinable(variable); }
} else if (!previous.isCombinable(variable)) { builder.append("}{").append(type.toString()); } else {
/** * Returns whether the given {@link TemplateVariable} is logically equivalent to the given one. This considers request * parameter variables equivalent independently from whether they're continued or not. * * @param variable * @return */ boolean isEquivalent(TemplateVariable variable) { return this.name.equals(variable.name) && isCombinable(variable); }
} else if (!previous.isCombinable(variable)) { builder.append("}{").append(type.toString()); } else {