xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject svn commit: r627497 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontCache.java
Date Wed, 13 Feb 2008 15:57:03 GMT
Author: jeremias
Date: Wed Feb 13 07:57:01 2008
New Revision: 627497

URL: http://svn.apache.org/viewvc?rev=627497&view=rev
Log:
Easy way to force the discarding of the user's font cache file (especially after the recent
changes).

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontCache.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontCache.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontCache.java?rev=627497&r1=627496&r2=627497&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontCache.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontCache.java Wed Feb 13 07:57:01
2008
@@ -31,6 +31,7 @@
 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 @@
  */
 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);



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message