Skip to content

Commit

Permalink
style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kasundharmadasa committed Aug 12, 2018
1 parent 463e11b commit 940f168
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ public String stopScan(@RequestParam String id, ModelMap map) {
@PostMapping(value = "/scanConfiguration")
public String upload(@ModelAttribute("scannerData") Scanner selectedScanner,
@RequestParam String scannerID) {

Scanner scanner = scanService.getScanner(scannerID);
selectedScanner.setId(scanner.getId());
selectedScanner.setName(scanner.getName());
Expand Down

0 comments on commit 940f168

Please sign in to comment.