File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
java/src/test/kotlin/cc/unitmesh/idea/context Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class JavaClassContextBuilderTest: LightPlatformTestCase() {
3737 " '@RestController, @RequestMapping(\" /user\" )\n " +
3838 " class UserController {\n " +
3939 " \n " +
40- " + @GetMapping public UserDTO getUsers()\n " +
40+ " + @GetMapping public UserDTO getUsers(); \n " +
4141 " }" )
4242 }
4343}
Original file line number Diff line number Diff line change @@ -101,9 +101,9 @@ public class BlogService {
101101'@Controller
102102class BlogController {
103103 BlogService blogService;
104- + public BlogController(BlogService blogService)
105- + @PostMapping("/blog") public BlogPost createBlog(CreateBlogDto blogDto)
106- + @GetMapping("/blog") public List<BlogPost> getBlog()
104+ + public BlogController(BlogService blogService);
105+ + @PostMapping("/blog") public BlogPost createBlog(CreateBlogDto blogDto);
106+ + @GetMapping("/blog") public List<BlogPost> getBlog();
107107}"""
108108 )
109109 }
You can’t perform that action at this time.
0 commit comments