Skip to content

Commit 12f2df1

Browse files
committed
Fixed Rewrite Annotations API usage
1 parent 99375aa commit 12f2df1

15 files changed

Lines changed: 15 additions & 15 deletions

‎annotations/src/main/java/org/ocpsoft/prettyfaces/annotation/handlers/ForwardToHandler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ public int priority()
2525
public void process(ClassContext context, ForwardTo annotation, HandlerChain chain)
2626
{
2727
context.getRuleBuilder().perform(Forward.to(annotation.value()));
28-
chain.proceed(context);
28+
chain.proceed();
2929
}
3030
}

‎annotations/src/main/java/org/ocpsoft/prettyfaces/annotation/handlers/HostnameHandler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ public int priority()
2525
public void process(ClassContext context, Hostname annotation, HandlerChain chain)
2626
{
2727
context.getRuleBuilder().when(Domain.matches(annotation.value()));
28-
chain.proceed(context);
28+
chain.proceed();
2929
}
3030
}

‎annotations/src/main/java/org/ocpsoft/prettyfaces/annotation/handlers/JSFConverterHandler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void process(FieldContext context, JSFConverter annotation, HandlerChain
5858
});
5959
}
6060

61-
chain.proceed(context);
61+
chain.proceed();
6262

6363
}
6464

‎annotations/src/main/java/org/ocpsoft/prettyfaces/annotation/handlers/JSFValidatorHandler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ else if (annotation.validateWith().trim().length() > 0) {
7979
}
8080
}
8181

82-
chain.proceed(context);
82+
chain.proceed();
8383
}
8484

8585
/**

‎annotations/src/main/java/org/ocpsoft/prettyfaces/annotation/handlers/JoinHandler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void process(ClassContext context, Join annotation, HandlerChain chain)
2626
context.setBaseRule(org.ocpsoft.rewrite.servlet.config.rule.Join
2727
.path(annotation.path())
2828
.to(annotation.to()));
29-
chain.proceed(context);
29+
chain.proceed();
3030
}
3131

3232
}

‎annotations/src/main/java/org/ocpsoft/prettyfaces/annotation/handlers/MappingIdHandler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public int priority()
2424
public void process(ClassContext context, MappingId annotation, HandlerChain chain)
2525
{
2626
context.getRuleBuilder().withId(annotation.value());
27-
chain.proceed(context);
27+
chain.proceed();
2828
}
2929

3030
}

‎annotations/src/main/java/org/ocpsoft/prettyfaces/annotation/handlers/MatchesHandler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void process(FieldContext context, Matches annotation, HandlerChain chain
4747
log.trace("Parameter [{}] has been constrained by [{}]", parameter.getName(), expr);
4848
}
4949

50-
chain.proceed(context);
50+
chain.proceed();
5151

5252
}
5353

‎annotations/src/main/java/org/ocpsoft/prettyfaces/annotation/handlers/ParameterBindingHandler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void process(FieldContext context, ParameterBinding annotation, HandlerCh
5656
log.trace("Binding parameter [{}] to field [{}]", param, field);
5757
}
5858

59-
chain.proceed(context);
59+
chain.proceed();
6060

6161
}
6262

‎annotations/src/main/java/org/ocpsoft/prettyfaces/annotation/handlers/PathPatternHandler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public int priority()
2525
public void process(ClassContext context, PathPattern annotation, HandlerChain chain)
2626
{
2727
context.getRuleBuilder().when(Path.matches(annotation.value()));
28-
chain.proceed(context);
28+
chain.proceed();
2929
}
3030

3131
}

‎annotations/src/main/java/org/ocpsoft/prettyfaces/annotation/handlers/PhaseHandlerBase.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public void process(ClassContext context, A annotation, HandlerChain chain)
3030
handleMethodAnnotation((MethodContext) context, annotation);
3131
}
3232

33-
chain.proceed(context);
33+
chain.proceed();
3434
}
3535

3636
protected void handleMethodAnnotation(MethodContext context, A annotation)

0 commit comments

Comments
 (0)