Replace Funnels.stringFunnel with Funnels.unencodedCharsFunnel

In Guava 15.0 the `stringFunnel()` method is deprecated in favor
of `unencodedCharsFunnel()`.

Change-Id: Ie99e3305f5ec497a36033142283dd5994803a254
This commit is contained in:
David Pursehouse
2013-10-01 09:40:08 +09:00
parent 718be66732
commit 99776b87c8

View File

@@ -321,7 +321,7 @@ public class H2CacheImpl<K, V> extends AbstractLoadingCache<K, V> {
@SuppressWarnings("unchecked")
@Override
Funnel<String> funnel() {
Funnel<?> s = Funnels.stringFunnel();
Funnel<?> s = Funnels.unencodedCharsFunnel();
return (Funnel<String>) s;
}
};