diff --git a/docs/index.adoc b/docs/index.adoc index 0470c01db..3c7779d11 100644 --- a/docs/index.adoc +++ b/docs/index.adoc @@ -6292,7 +6292,6 @@ NOTE: As of this writing, there is work in progress in the Quarkus community on [source,java] ---- -import io.quarkus.runtime.Quarkus; import io.quarkus.runtime.QuarkusApplication; import io.quarkus.runtime.annotations.QuarkusMain; import picocli.CommandLine; @@ -6317,10 +6316,6 @@ public class MyQuarkusApp implements Runnable, QuarkusApplication { public int run(String... args) { return new CommandLine(this, cdiFactory).execute(args); } - - public static void main(String[] args) { - Quarkus.run(MyQuarkusApp.class, args); - } } ---- diff --git a/docs/index.html b/docs/index.html index fccf22335..777e53797 100644 --- a/docs/index.html +++ b/docs/index.html @@ -9416,8 +9416,7 @@

21.5. Quarkus Example

-
import io.quarkus.runtime.Quarkus;
-import io.quarkus.runtime.QuarkusApplication;
+
import io.quarkus.runtime.QuarkusApplication;
 import io.quarkus.runtime.annotations.QuarkusMain;
 import picocli.CommandLine;
 import picocli.CommandLine.Command;
@@ -9441,10 +9440,6 @@ 

21.5. Quarkus Example

public int run(String... args) { return new CommandLine(this, cdiFactory).execute(args); } - - public static void main(String[] args) { - Quarkus.run(MyQuarkusApp.class, args); - } }