SGF-17
+ integration test config
+ minor bug fix
This commit is contained in:
costin
2010-09-15 14:35:33 +03:00
parent 8ec1b42dc7
commit a7a771b110
2 changed files with 13 additions and 9 deletions

View File

@@ -62,7 +62,7 @@ class EvictionAttributesFactoryBean implements FactoryBean<EvictionAttributes>,
if (threshold != null) {
return EvictionAttributes.createLRUEntryAttributes(threshold, action);
}
return EvictionAttributes.createLRUMemoryAttributes(threshold);
return EvictionAttributes.createLRUEntryAttributes();
}
}
@@ -81,14 +81,14 @@ class EvictionAttributesFactoryBean implements FactoryBean<EvictionAttributes>,
/**
* @return the threshold
*/
public int getThreshold() {
public Integer getThreshold() {
return threshold;
}
/**
* @param threshold the threshold to set
*/
public void setThreshold(int threshold) {
public void setThreshold(Integer threshold) {
this.threshold = threshold;
}