aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-policies/src
diff options
context:
space:
mode:
authorMartin Schreier <martin_s@apache.org>2022-01-03 20:26:49 +0100
committerMartin Schreier <martin_s@apache.org>2022-01-03 20:26:49 +0100
commit3756ba57f6ebc5e3d256c25c220ae5b83f41eb22 (patch)
treeff296873916765fc05db680adbcd62e416295038 /archiva-modules/archiva-base/archiva-policies/src
parent7536a89125adca6dcf230d91b6a867d8d5b6e407 (diff)
downloadarchiva-3756ba57f6ebc5e3d256c25c220ae5b83f41eb22.tar.gz
archiva-3756ba57f6ebc5e3d256c25c220ae5b83f41eb22.zip
Switching to generics for cache implementation
Diffstat (limited to 'archiva-modules/archiva-base/archiva-policies/src')
-rw-r--r--archiva-modules/archiva-base/archiva-policies/src/main/resources/META-INF/spring-context.xml2
-rwxr-xr-xarchiva-modules/archiva-base/archiva-policies/src/test/resources/spring-context.xml2
2 files changed, 4 insertions, 0 deletions
diff --git a/archiva-modules/archiva-base/archiva-policies/src/main/resources/META-INF/spring-context.xml b/archiva-modules/archiva-base/archiva-policies/src/main/resources/META-INF/spring-context.xml
index e42a9b8e7..2a9dc119e 100644
--- a/archiva-modules/archiva-base/archiva-policies/src/main/resources/META-INF/spring-context.xml
+++ b/archiva-modules/archiva-base/archiva-policies/src/main/resources/META-INF/spring-context.xml
@@ -37,6 +37,8 @@
<bean name="cache#url-failures-cache" class="org.apache.archiva.components.cache.ehcache.EhcacheCache" lazy-init="true"
destroy-method="dispose">
+ <constructor-arg index="0" value="java.lang.String"/>
+ <constructor-arg index="1" value="java.util.Date"/>
<property name="diskExpiryThreadIntervalSeconds" value="600"/>
<property name="diskPersistent" value="true"/>
<property name="diskStorePath" value="${appserver.base}/tmp/urlcache"/>
diff --git a/archiva-modules/archiva-base/archiva-policies/src/test/resources/spring-context.xml b/archiva-modules/archiva-base/archiva-policies/src/test/resources/spring-context.xml
index 91426974c..dfe404519 100755
--- a/archiva-modules/archiva-base/archiva-policies/src/test/resources/spring-context.xml
+++ b/archiva-modules/archiva-base/archiva-policies/src/test/resources/spring-context.xml
@@ -30,6 +30,8 @@
<context:property-placeholder system-properties-mode="OVERRIDE"/>
<bean name="cache#url-failures-cache" class="org.apache.archiva.components.cache.ehcache.EhcacheCache">
+ <constructor-arg index="0" value="java.lang.String"/>
+ <constructor-arg index="1" value="java.util.Date"/>
<property name="diskExpiryThreadIntervalSeconds" value="600"/>
<property name="diskPersistent" value="false"/>
<property name="eternal" value="false"/>