=htp a few small things that got lost in the #17988 merge

This commit is contained in:
Johannes Rudolph 2015-07-15 12:42:59 +02:00
parent 26d2910b68
commit 58e78757de
5 changed files with 13 additions and 21 deletions

View file

@ -66,11 +66,11 @@ public class HandlerExampleDocTest extends JUnitRouteTest {
public void testCalculator() {
//#handler2-example-full
class TestHandler extends akka.http.javadsl.server.AllDirectives {
RequestVal<Integer> xParam = Parameters.intValue("x");
RequestVal<Integer> yParam = Parameters.intValue("y");
final RequestVal<Integer> xParam = Parameters.intValue("x");
final RequestVal<Integer> yParam = Parameters.intValue("y");
RequestVal<Integer> xSegment = PathMatchers.intValue();
RequestVal<Integer> ySegment = PathMatchers.intValue();
final RequestVal<Integer> xSegment = PathMatchers.intValue();
final RequestVal<Integer> ySegment = PathMatchers.intValue();
//#handler2
final Handler2<Integer, Integer> multiply =