File tree Expand file tree Collapse file tree
integration-tests/src/test/resources/__snapshots__/QuarkusDaprCodestartsTest/testContent
runtime/src/main/codestarts/quarkus/dapr-codestart/java/src/main/java/org/acme Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package ilove .quark .us ;
22
3- import jakarta .enterprise .context .ApplicationScoped ;
3+ import io .quarkus .runtime .QuarkusApplication ;
4+ import io .quarkus .runtime .annotations .QuarkusMain ;
45
5- public class Dapr {
6+ @ QuarkusMain (name = "quarkus-dapr" )
7+ public class Dapr implements QuarkusApplication {
68
7- public String hello () {
8- return "My Example Hello Quarkus Codestart" ;
9+ @ Override public int run (String ... args ) throws Exception {
10+ System .out .println ("Hello quarkus-dapr codestart" );
11+ return 0 ;
912 }
10-
1113}
Original file line number Diff line number Diff line change 11package org .acme ;
22
3- import jakarta .enterprise .context .ApplicationScoped ;
3+ import io .quarkus .runtime .QuarkusApplication ;
4+ import io .quarkus .runtime .annotations .QuarkusMain ;
45
56@ QuarkusMain (name = "quarkus-dapr" )
67public class Dapr implements QuarkusApplication {
78
8- public String hello () {
9- return "My Example Hello Quarkus-Dapr Codestart" ;
9+ @ Override public int run (String ... args ) throws Exception {
10+ System .out .println ("Hello quarkus-dapr codestart" );
11+ return 0 ;
1012 }
1113}
You can’t perform that action at this time.
0 commit comments