Skip to content

Commit a75efa1

Browse files
committed
chore: Upgrade cactoos-cache to 0.0.13
1 parent 715ff40 commit a75efa1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
<dependency>
9090
<groupId>com.github.fabriciofx</groupId>
9191
<artifactId>cactoos-cache</artifactId>
92-
<version>0.0.12</version>
92+
<version>0.0.13</version>
9393
</dependency>
9494
<dependency>
9595
<groupId>com.zaxxer</groupId>

src/main/java/com/github/fabriciofx/cactoos/jdbc/source/Cached.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import com.github.fabriciofx.cactoos.cache.Cache;
88
import com.github.fabriciofx.cactoos.cache.base.CacheOf;
99
import com.github.fabriciofx.cactoos.cache.base.Policed;
10-
import com.github.fabriciofx.cactoos.cache.policy.MaxSizePolicy;
10+
import com.github.fabriciofx.cactoos.cache.policy.MaxCountPolicy;
1111
import com.github.fabriciofx.cactoos.jdbc.Query;
1212
import com.github.fabriciofx.cactoos.jdbc.Session;
1313
import com.github.fabriciofx.cactoos.jdbc.Source;
@@ -39,7 +39,7 @@ public Cached(final Source source) {
3939
source,
4040
new Policed<>(
4141
new CacheOf<>(new TableStore()),
42-
new MaxSizePolicy<>()
42+
new MaxCountPolicy<>()
4343
)
4444
);
4545
}

0 commit comments

Comments
 (0)