This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new 8e64263237 ISIS-2297: fixes javadoc (also make Spring 6 compatible)
8e64263237 is described below
commit 8e64263237b38be2707d8645074c10c15d00a3eb
Author: Andi Huber <[email protected]>
AuthorDate: Thu Nov 17 06:31:10 2022 +0100
ISIS-2297: fixes javadoc (also make Spring 6 compatible)
---
.../java/org/apache/causeway/core/config/CausewayConfiguration.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/core/config/src/main/java/org/apache/causeway/core/config/CausewayConfiguration.java
b/core/config/src/main/java/org/apache/causeway/core/config/CausewayConfiguration.java
index 810bdf6726..499dd750a2 100644
---
a/core/config/src/main/java/org/apache/causeway/core/config/CausewayConfiguration.java
+++
b/core/config/src/main/java/org/apache/causeway/core/config/CausewayConfiguration.java
@@ -52,6 +52,7 @@ import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
+import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.core.env.ConfigurableEnvironment;
import org.springframework.validation.annotation.Validated;
@@ -105,6 +106,7 @@ public class CausewayConfiguration {
public static final String ROOT_PREFIX = "causeway";
private final ConfigurableEnvironment environment;
+ @Autowired
public CausewayConfiguration(final ConfigurableEnvironment environment) {
this.environment = environment;
}
@@ -137,7 +139,7 @@ public class CausewayConfiguration {
* Setting this option to {@literal true} allows {@code
CsrfFilter}(s) to be
* configured. Yet EXPERIMENTAL.
*
- * @see
<code>org.springframework.security.web.csrf.CsrfFilter</code>
+ * @see org.springframework.security.web.csrf.CsrfFilter
* @see
"https://www.baeldung.com/spring-security-registered-filters"
*/
private boolean allowCsrfFilters = false;