Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions src/main/java/com/acme/DemoController.java
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
// safe baseline
public class DemoController {}
import org.springframework.web.bind.annotation.*;
@RestController
public class DemoController {
@GetMapping("/items")
public String items(@RequestParam String sort) throws Exception {
Class<?> clazz = Class.forName(sort);
return "ok";
}
}
Loading