From: Jeremias Maerki Date: Wed, 13 Feb 2008 15:57:01 +0000 (+0000) Subject: Easy way to force the discarding of the user's font cache file (especially after... X-Git-Tag: fop-0_95beta~73 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ea691f9d34c8b1757f36f2dcecf520b3ffe3e27e;p=xmlgraphics-fop.git Easy way to force the discarding of the user's font cache file (especially after the recent changes). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627497 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/fonts/FontCache.java b/src/java/org/apache/fop/fonts/FontCache.java index efd7ea603..13afa5a65 100644 --- a/src/java/org/apache/fop/fonts/FontCache.java +++ b/src/java/org/apache/fop/fonts/FontCache.java @@ -31,6 +31,7 @@ import java.util.Map; import org.apache.commons.io.IOUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; + import org.apache.fop.apps.FOPException; import org.apache.fop.util.LogUtil; @@ -39,8 +40,11 @@ import org.apache.fop.util.LogUtil; */ public final class FontCache implements Serializable { - /** Serialization Version UID */ - private static final long serialVersionUID = 605232520271754717L; + /** + * Serialization Version UID. Change this value if you want to make sure the user's cache + * file is purged after an update. + */ + private static final long serialVersionUID = 605232520271754718L; /** logging instance */ private static Log log = LogFactory.getLog(FontCache.class);