Skip to content

Commit e7efb79

Browse files
committed
added type parameter. now the project compiles again
1 parent 2584b38 commit e7efb79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/java/demo/app/controllers/Application.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@
3535
*/
3636
public class Application extends Controller {
3737
public static Logger.ALogger logger = Logger.of("application.controllers.Application");
38-
private RuntimeEnvironment env;
38+
private RuntimeEnvironment<DemoUser> env;
3939

4040
/**
4141
* A constructor needed to get a hold of the environment instance.
4242
* This could be injected using a DI framework instead too.
4343
*
4444
* @param env
4545
*/
46-
public Application(RuntimeEnvironment env) {
46+
public Application(RuntimeEnvironment<DemoUser> env) {
4747
this.env = env;
4848
}
4949
/**

0 commit comments

Comments
 (0)