Skip to content

Commit

Permalink
Merge pull request #534 from webwart-bln/develop
Browse files Browse the repository at this point in the history
Change default implementation of TimeZoneCache to Map-based variant.
  • Loading branch information
benfortuna committed Nov 11, 2021
2 parents 2f38669 + 65171f1 commit 8919ef2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/net/fortuna/ical4j/model/TimeZoneLoader.java
Expand Up @@ -30,7 +30,8 @@ public class TimeZoneLoader {

private static final String TZ_CACHE_IMPL = "net.fortuna.ical4j.timezone.cache.impl";

private static final String DEFAULT_TZ_CACHE_IMPL = "net.fortuna.ical4j.util.JCacheTimeZoneCache";
// Use the Map-based TimeZoneCache by default
private static final String DEFAULT_TZ_CACHE_IMPL = "net.fortuna.ical4j.util.MapTimeZoneCache";

private static final String MESSAGE_MISSING_DEFAULT_TZ_CACHE_IMPL = "Error loading default cache implementation. Please ensure the JCache API dependency is included in the classpath, or override the cache implementation (e.g. via configuration: net.fortuna.ical4j.timezone.cache.impl=net.fortuna.ical4j.util.MapTimeZoneCache)";

Expand Down

0 comments on commit 8919ef2

Please sign in to comment.