Remove code smells and increase code coverage
[nonrtric.git] / policy-agent / src / main / java / org / oransc / policyagent / Application.java
index fdfca61..154ab1d 100644 (file)
@@ -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();
     }
-
 }