File tree Expand file tree Collapse file tree
src/main/java/com/github/fabriciofx/cactoos/jdbc/source Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 77import com .github .fabriciofx .cactoos .cache .Cache ;
88import com .github .fabriciofx .cactoos .cache .base .CacheOf ;
99import 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 ;
1111import com .github .fabriciofx .cactoos .jdbc .Query ;
1212import com .github .fabriciofx .cactoos .jdbc .Session ;
1313import 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 }
You can’t perform that action at this time.
0 commit comments