From: Vincent Hennebert Date: Tue, 7 Jan 2014 09:51:25 +0000 (+0000) Subject: The length of $HeadURL$ cannot be controlled. Surround with CSOFF/CSON comments X-Git-Tag: fop-2_0~139 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e7d05ec67b2652cd6ede79067d42eae8c057c955;p=xmlgraphics-fop.git The length of $HeadURL$ cannot be controlled. Surround with CSOFF/CSON comments git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1556164 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/Version.java b/src/java/org/apache/fop/Version.java index 86861a60b..a8903c74e 100644 --- a/src/java/org/apache/fop/Version.java +++ b/src/java/org/apache/fop/Version.java @@ -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);