xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gad...@apache.org
Subject svn commit: r1296399 - in /xmlgraphics/fop/trunk: checkstyle-5.5.xml src/java/org/apache/fop/fonts/apps/TTFReader.java
Date Fri, 02 Mar 2012 19:25:52 GMT
Author: gadams
Date: Fri Mar  2 19:25:52 2012
New Revision: 1296399

URL: http://svn.apache.org/viewvc?rev=1296399&view=rev
Log:
change allowLineBreaks to false (default value) on NoWhitespaceBefore; fix violations

Modified:
    xmlgraphics/fop/trunk/checkstyle-5.5.xml
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/apps/TTFReader.java

Modified: xmlgraphics/fop/trunk/checkstyle-5.5.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/checkstyle-5.5.xml?rev=1296399&r1=1296398&r2=1296399&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/checkstyle-5.5.xml (original)
+++ xmlgraphics/fop/trunk/checkstyle-5.5.xml Fri Mar  2 19:25:52 2012
@@ -184,9 +184,7 @@
     <!-- ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... -->
 
     <!-- ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... -->
-    <module name="NoWhitespaceBefore">
-      <property name="allowLineBreaks" value="true"/>                             
                             <!-- changing to false produces 1 new error -->
-    </module>
+    <module name="NoWhitespaceBefore"/>
     <!-- ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... -->
 
     <!-- ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... -->

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/apps/TTFReader.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/apps/TTFReader.java?rev=1296399&r1=1296398&r2=1296399&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/apps/TTFReader.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/apps/TTFReader.java Fri Mar  2 19:25:52
2012
@@ -496,8 +496,7 @@ public class TTFReader extends AbstractF
                 if (version < METRICS_VERSION) {
                     err = "Incompatible " + METRICS_VERSION_ATTR
                         + " value (" + version + ", should be " + METRICS_VERSION
-                        + ")"
-                     ;
+                        + ")";
                 }
             } catch (NumberFormatException e) {
                 err = "Invalid " + METRICS_VERSION_ATTR



---------------------------------------------------------------------
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