Skip to content

Commit 204b7b6

Browse files
committed
Add jooby apt test module for #3756
1 parent b1dc85b commit 204b7b6

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/*
2+
* Jooby https://jooby.io
3+
* Apache License Version 2.0 https://jooby.io/LICENSE.txt
4+
* Copyright 2014 Edgar Espina
5+
*/
6+
package io.jooby.i3756;
7+
8+
import io.jooby.annotation.GET;
9+
import io.jooby.annotation.Path;
10+
11+
@Path("/C3756")
12+
public class C3756 {
13+
private final S3756 s3756;
14+
15+
public C3756(S3756 s3756) {
16+
super();
17+
this.s3756 = s3756;
18+
}
19+
20+
@GET
21+
public String handle() {
22+
s3756.accept("hello");
23+
return "hello";
24+
}
25+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Jooby https://jooby.io
3+
* Apache License Version 2.0 https://jooby.io/LICENSE.txt
4+
* Copyright 2014 Edgar Espina
5+
*/
6+
package io.jooby.i3756;
7+
8+
public interface S3756 {
9+
10+
void accept(String s);
11+
}

0 commit comments

Comments
 (0)