Skip to content

Commit 189500b

Browse files
author
Simone Giannecchini
committed
Merge pull request #12 from n-lagomarsini/JAIEXT-25
[JAIEXT-25] Upgrade Guava version to 17.0
2 parents f0ef5ec + 8f6aa58 commit 189500b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

concurrent-tile-cache/src/main/java/it/geosolutions/concurrent/ConcurrentTileCacheMultiMap.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,11 @@ public int weigh(Object o, CachedTileImpl cti) {
590590
});
591591
// Setting of the listener
592592
builder.removalListener(createListener(diagnosticEnabled));
593-
593+
// Enable statistics only when the diagnostic flag is set to true;
594+
if(diagnosticEnabled){
595+
builder.recordStats();
596+
}
597+
594598
if (LOGGER.isLoggable(Level.FINE)) {
595599
LOGGER.fine("Building Cache");
596600
}

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<geotools.version>10-SNAPSHOT</geotools.version>
1717
<fork.javac>true</fork.javac>
1818
<javac.maxHeapSize>256M</javac.maxHeapSize>
19-
<guava.version>11.0.1</guava.version>
19+
<guava.version>17.0</guava.version>
2020
</properties>
2121

2222
<!-- ======================================================== -->

0 commit comments

Comments
 (0)