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:
cal
2021-02-08 04:50:21 +01:00
committed by GitHub
parent a06af89be9
commit ef9e8b7181
5 changed files with 6 additions and 6 deletions

View File

@@ -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";
}