Delete unnecessary @SuppressWarnings declaration

This commit is contained in:
Sam Brannen
2021-03-02 14:10:40 +01:00
parent e89cc9934f
commit 7efb4eade6

View File

@@ -218,7 +218,6 @@ public abstract class AbstractHandlerMapping extends WebApplicationObjectSupport
* <p><strong>Note:</strong> This property is mutually exclusive with and
* ignored when {@link #setPatternParser(PathPatternParser)} is set.
*/
@SuppressWarnings("deprecation")
public void setUrlPathHelper(UrlPathHelper urlPathHelper) {
Assert.notNull(urlPathHelper, "UrlPathHelper must not be null");
this.urlPathHelper = urlPathHelper;