X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=policy-agent%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fpolicyagent%2FApplication.java;h=154ab1d2959a0d7b4632dc47665aefeabaf641d4;hb=refs%2Fchanges%2F65%2F2665%2F3;hp=fdfca6114fbc25cf72514b03ed52e47d4bf9e53d;hpb=296f7c083ed15a57e59ea4546eb0624bf235d29b;p=nonrtric.git diff --git a/policy-agent/src/main/java/org/oransc/policyagent/Application.java b/policy-agent/src/main/java/org/oransc/policyagent/Application.java index fdfca611..154ab1d2 100644 --- a/policy-agent/src/main/java/org/oransc/policyagent/Application.java +++ b/policy-agent/src/main/java/org/oransc/policyagent/Application.java @@ -41,15 +41,12 @@ public class Application { /** * Starts the service and reads the configuration. * - * @param ctx - * @return + * @param ctx the application context. + * + * @return the command line runner performing tasks at startup. */ @Bean public CommandLineRunner commandLineRunner(ApplicationContext ctx) { - return args -> { - - startupService.startup(); - }; + return args -> startupService.startup(); } - }