Skip to content

Commit efd7149

Browse files
committed
Checkstyle issues
1 parent fbf6e91 commit efd7149

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

handlebars/src/main/java/com/github/jknack/handlebars/helper/EachHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class EachHelper implements Helper<Object> {
4747
*/
4848
public static final String NAME = "each";
4949

50-
@SuppressWarnings({"rawtypes", "unchecked"})
50+
@SuppressWarnings({"rawtypes", "unchecked" })
5151
@Override
5252
public Object apply(final Object context, final Options options)
5353
throws IOException {
@@ -79,7 +79,7 @@ public Object apply(final Object context, final Options options)
7979
buffer.append(options.inverse());
8080
}
8181
return buffer;
82-
} else if(context != null) {
82+
} else if (context != null) {
8383
int index = 0;
8484
Iterator loop = options.propertySet(context).iterator();
8585
Context parent = options.context;

handlebars/src/main/java/com/github/jknack/handlebars/internal/TemplateBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ public Object visitRefParam(final RefParamContext ctx) {
503503
return new RefParam(PathCompiler.compile(ctx.getText(), handlebars.parentScopeResolution()));
504504
}
505505

506-
@Override public Object visitNumberParam(HbsParser.NumberParamContext ctx) {
506+
@Override public Object visitNumberParam(final HbsParser.NumberParamContext ctx) {
507507
try {
508508
return new DefParam(Integer.parseInt(ctx.getText()));
509509
} catch (NumberFormatException x) {

0 commit comments

Comments
 (0)