]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Use chained append() rather than string concatenation (better practice)
authorAndreas L. Delmelle <adelmelle@apache.org>
Fri, 18 Feb 2011 18:36:26 +0000 (18:36 +0000)
committerAndreas L. Delmelle <adelmelle@apache.org>
Fri, 18 Feb 2011 18:36:26 +0000 (18:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1072097 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/inline/AlignmentContext.java

index c4680bcb4b8798d2d1efd92d35326410876bb600..daf7ce01d47af9470139789d81c9610deba50e3d 100644 (file)
@@ -507,11 +507,11 @@ public class AlignmentContext implements Constants {
     /** {@inheritDoc} */
     public String toString() {
         StringBuffer sb = new StringBuffer(64);
-        sb.append("areaHeight=" + areaHeight);
-        sb.append(" lineHeight=" + lineHeight);
-        sb.append(" alignmentPoint=" + alignmentPoint);
-        sb.append(" alignmentBaselineID=" + alignmentBaselineIdentifier);
-        sb.append(" baselineShift=" + baselineShiftValue);
+        sb.append("areaHeight=").append(areaHeight);
+        sb.append(" lineHeight=").append(lineHeight);
+        sb.append(" alignmentPoint=").append(alignmentPoint);
+        sb.append(" alignmentBaselineID=").append(alignmentBaselineIdentifier);
+        sb.append(" baselineShift=").append(baselineShiftValue);
         return sb.toString();
     }