diff options
author | Jeremias Maerki <jeremias@apache.org> | 2008-02-13 15:57:01 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2008-02-13 15:57:01 +0000 |
commit | ea691f9d34c8b1757f36f2dcecf520b3ffe3e27e (patch) | |
tree | f7d17fadc449d729cb6369f47e7ea338feccff5f /src/java/org/apache/fop/fonts/FontCache.java | |
parent | 75a7d24627160b3358f7f22d82a3061e8771a8d4 (diff) | |
download | xmlgraphics-fop-ea691f9d34c8b1757f36f2dcecf520b3ffe3e27e.tar.gz xmlgraphics-fop-ea691f9d34c8b1757f36f2dcecf520b3ffe3e27e.zip |
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
Diffstat (limited to 'src/java/org/apache/fop/fonts/FontCache.java')
-rw-r--r-- | src/java/org/apache/fop/fonts/FontCache.java | 8 |
1 files changed, 6 insertions, 2 deletions
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); |