Skip to content

Commit 7b73f23

Browse files
committed
For attribute is not actually required
Issue: SPR-14287 (cherry picked from commit dacc31e)
1 parent a0a2a33 commit 7b73f23

File tree

1 file changed

+1
-3
lines changed
  • spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form

1 file changed

+1
-3
lines changed

spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/LabelTag.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2016 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,8 +25,6 @@
2525
* Databinding-aware JSP tag for rendering an HTML '{@code label}' element
2626
* that defines text that is associated with a single form element.
2727
*
28-
* <p>The {@link #setFor(String) 'for'} attribute is required.
29-
*
3028
* <p>See the "formTags" showcase application that ships with the
3129
* full Spring distribution for an example of this class in action.
3230
*

0 commit comments

Comments
 (0)