From 254facd32db93db81f906074a116eeb1b6c5b1b3 Mon Sep 17 00:00:00 2001 From: kaixiliu Date: Wed, 14 Jun 2023 15:29:55 +0800 Subject: Delete extra blank lines Issue-ID: USECASEUI-812 Signed-off-by: kaixiliu Change-Id: I44b3f92a5b5b51e03b61106214e92fb44f36af65 --- .../usecaseui/server/controller/PerformanceController.java | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/server/src/main/java/org/onap/usecaseui/server/controller/PerformanceController.java b/server/src/main/java/org/onap/usecaseui/server/controller/PerformanceController.java index 5366e4ba..cb433917 100755 --- a/server/src/main/java/org/onap/usecaseui/server/controller/PerformanceController.java +++ b/server/src/main/java/org/onap/usecaseui/server/controller/PerformanceController.java @@ -13,8 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.onap.usecaseui.server.controller; +package org.onap.usecaseui.server.controller; import java.text.ParseException; import java.text.SimpleDateFormat; @@ -47,7 +47,6 @@ import org.springframework.web.bind.annotation.RestController; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; - @RestController @Configuration @EnableAspectJAutoProxy @@ -60,18 +59,17 @@ public class PerformanceController { private PerformanceInformationService performanceInformationService; private Logger logger = LoggerFactory.getLogger(PerformanceController.class); - + public void setPerformanceHeaderService(PerformanceHeaderService performanceHeaderService) { this.performanceHeaderService = performanceHeaderService; } - public void setPerformanceInformationService(PerformanceInformationService performanceInformationService) { this.performanceInformationService = performanceInformationService; } private ObjectMapper omPerformance = new ObjectMapper(); - + @GetMapping(value = {"/performance/{currentPage}/{pageSize}"}, produces = "application/json") public String getPerformanceData(@PathVariable String currentPage, @PathVariable String pageSize, @@ -94,7 +92,7 @@ public class PerformanceController { return omPerformance.writeValueAsString("failed"); } } - + @GetMapping(value = {"/performance/queryAllSourceNames"}) public String getSourceIds(){ try { @@ -104,7 +102,7 @@ public class PerformanceController { return ""; } } - + @RequestMapping("/performance/getPerformanceHeaderDetail/{id}") public String getPerformanceHeaderDetail(@PathVariable String id) throws JsonProcessingException { PerformanceHeader performanceHeader= performanceHeaderService.getPerformanceHeaderById(id); @@ -121,7 +119,7 @@ public class PerformanceController { String string =omPerformance.writeValueAsString(map); return string; } - + @GetMapping(value = {"/performance/getSourceNames/{currentPage}/{pageSize}"}, produces = "application/json") public String getPerformanceSourceNames(@PathVariable String currentPage,@PathVariable String pageSize, @RequestParam(required = false) String sourceName) throws JsonProcessingException{ -- cgit 1.2.3-korg