Skip to content

Commit

Permalink
changing access modifiers to allow extendability (#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikahlswede authored and jknack committed Jun 23, 2018
1 parent b8f0d4c commit 3b702a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public boolean checkResource(final Locale locale) {
*
* @param template The compiled template. Required.
*/
void setTemplate(final Template template) {
public void setTemplate(final Template template) {
this.template = requireNonNull(template, "A handlebars template is required.");
}

Expand All @@ -92,7 +92,7 @@ void setTemplate(final Template template) {
*
* @param valueResolvers The value resolvers. Required.
*/
void setValueResolver(final ValueResolver... valueResolvers) {
public void setValueResolver(final ValueResolver... valueResolvers) {
this.valueResolvers = requireNonNull(valueResolvers,
"At least one value-resolver must be present.");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,13 @@ public Handlebars getHandlebars() {
return handlebars;
}

/**
* @return The array of resolvers.
*/
protected ValueResolver[] getValueResolvers() {
return this.valueResolvers;
}

/**
* Set the value resolvers.
*
Expand Down

0 comments on commit 3b702a4

Please sign in to comment.