Browse Source

Use chained append() rather than string concatenation (better practice)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1072097 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-1_1rc1old
Andreas L. Delmelle 13 years ago
parent
commit
055520939d
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      src/java/org/apache/fop/layoutmgr/inline/AlignmentContext.java

+ 5
- 5
src/java/org/apache/fop/layoutmgr/inline/AlignmentContext.java View 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();
}


Loading…
Cancel
Save