瀏覽代碼

Fix WebSecurityConfigurerAdapter Javadoc

The constructor's Javadoc was incorrect. This commit
fixes it.
Sola 9 年之前
父節點
當前提交
d3b3f8e004

+ 2 - 2
config/src/main/java/org/springframework/security/config/annotation/web/configuration/WebSecurityConfigurerAdapter.java

@@ -103,7 +103,7 @@ public abstract class WebSecurityConfigurerAdapter implements
 	 * enabled. Disabling the default configuration should be considered more advanced
 	 * usage as it requires more understanding of how the framework is implemented.
 	 *
-	 * @param disableDefaults true if the default configuration should be enabled, else
+	 * @param disableDefaults true if the default configuration should be disabled, else
 	 * false
 	 */
 	protected WebSecurityConfigurerAdapter(boolean disableDefaults) {
@@ -481,4 +481,4 @@ public abstract class WebSecurityConfigurerAdapter implements
 			}
 		}
 	}
-}
+}