mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 04:07:07 +00:00
refactor: erefactor/AutoRefactor - Annotation (#8544)
AutoRefactor cleanup 'AnnotationCleanUp' applied by erefactor: Simplifies annotation uses: - empty parentheses will be removed from annotations, - single members named "value" will be removed from annotations and only the value will be left. For AutoRefactor see https://github.com/JnRouvignac/AutoRefactor For erefactor see https://github.com/cal101/erefactor
This commit is contained in:
@@ -25,7 +25,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||
*/
|
||||
@Controller
|
||||
public class HomeController {
|
||||
@RequestMapping(value = "/")
|
||||
@RequestMapping("/")
|
||||
public String index() {
|
||||
return "redirect:index.html";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user