Skip to content

Commit 8606224

Browse files
committed
style fixes
1 parent 1e37ff5 commit 8606224

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

modules/jooby-apt/src/main/java/io/jooby/apt/JoobyProcessor.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,16 @@ public class JoobyProcessor extends AbstractProcessor {
5454
private Set<TypeElement> pathAnnotations;
5555
private Set<TypeElement> httpAnnotations;
5656

57+
final class MVCMethod {
58+
public ExecutableElement method;
59+
public TypeElement httpMethod;
60+
61+
MVCMethod(ExecutableElement method, TypeElement httpMethod) {
62+
this.method = method;
63+
this.httpMethod = httpMethod;
64+
}
65+
}
66+
5767
@Override public Set<String> getSupportedAnnotationTypes() {
5868
return new LinkedHashSet<String>() {{
5969
addAll(Annotations.HTTP_METHODS);
@@ -81,15 +91,6 @@ public class JoobyProcessor extends AbstractProcessor {
8191
}};
8292
}
8393

84-
final private class MVCMethod {
85-
public ExecutableElement method;
86-
public TypeElement httpMethod;
87-
public MVCMethod(ExecutableElement method, TypeElement httpMethod) {
88-
this.method = method;
89-
this.httpMethod = httpMethod;
90-
}
91-
}
92-
9394
@Override
9495
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) {
9596
try {
@@ -100,7 +101,7 @@ public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment
100101

101102
JoobyProcessorRoundEnvironment joobyRoundEnv = new JoobyProcessorRoundEnvironment(roundEnv, processingEnvironment);
102103

103-
Map<TypeElement,List<MVCMethod>> classMap = new HashMap<>();
104+
Map<TypeElement, List<MVCMethod>> classMap = new HashMap<>();
104105
/**
105106
* Do MVC handler: per each mvc method we create a Route.Handler.
106107
*/

0 commit comments

Comments
 (0)