Skip to content

Commit 2945ece

Browse files
committed
Rocker: javadoc+checkstyle
1 parent c085111 commit 2945ece

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

‎modules/jooby-rocker/src/main/java/io/jooby/rocker/RockerHandler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
class RockerHandler implements Route.Handler {
1717
private final Route.Handler next;
1818

19-
public RockerHandler(Route.Handler next) {
19+
RockerHandler(Route.Handler next) {
2020
this.next = next;
2121
}
2222

‎modules/jooby-rocker/src/main/java/io/jooby/rocker/Rockerby.java‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,24 @@
1313

1414
import javax.annotation.Nonnull;
1515

16+
/**
17+
* Rocker module. It requires some build configuration setup which are documented in the web site.
18+
* Please refer to https://jooby.io/modules/rocker for more details.
19+
*
20+
* @author edgar
21+
* @since 2.0.0
22+
*/
1623
public class Rockerby implements Extension {
1724

1825
private Boolean reloading;
1926

20-
public Rockerby reloading(boolean reloading) {
27+
/**
28+
* Turn on/off autoreloading of template for development.
29+
*
30+
* @param reloading True for turning on.
31+
* @return This module.
32+
*/
33+
public @Nonnull Rockerby reloading(boolean reloading) {
2134
this.reloading = reloading;
2235
return this;
2336
}

0 commit comments

Comments
 (0)