]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
The length of $HeadURL$ cannot be controlled. Surround with CSOFF/CSON comments
authorVincent Hennebert <vhennebert@apache.org>
Tue, 7 Jan 2014 09:51:25 +0000 (09:51 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Tue, 7 Jan 2014 09:51:25 +0000 (09:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1556164 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/Version.java

index 86861a60b51b5c06ac24c52f78e3242cb2ccd814..a8903c74e45717524df54d391414b88dc0c76d2f 100644 (file)
@@ -40,8 +40,9 @@ public final class Version {
         }
         if (version == null) {
             //Fallback if FOP is used in a development environment
-            String headURL
-                = "$HeadURL$";
+            // CSOFF: LineLength
+            String headURL = "$HeadURL$";
+            // CSON: LineLength
             version = headURL;
             final String pathPrefix = "/xmlgraphics/fop/";
             int pos = version.indexOf(pathPrefix);