diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2011-02-18 18:36:26 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2011-02-18 18:36:26 +0000 |
commit | 055520939d62f7d45ddf59d7944844a0744e7e46 (patch) | |
tree | e56fdf38dee1bc5389c8fa9e64531d36461eb205 /src/java/org/apache/fop/layoutmgr/inline/AlignmentContext.java | |
parent | 32d5f37b494f99c2c27b39da9254240f84bade03 (diff) | |
download | xmlgraphics-fop-055520939d62f7d45ddf59d7944844a0744e7e46.tar.gz xmlgraphics-fop-055520939d62f7d45ddf59d7944844a0744e7e46.zip |
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
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/inline/AlignmentContext.java')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/inline/AlignmentContext.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/inline/AlignmentContext.java b/src/java/org/apache/fop/layoutmgr/inline/AlignmentContext.java index c4680bcb4..daf7ce01d 100644 --- a/src/java/org/apache/fop/layoutmgr/inline/AlignmentContext.java +++ b/src/java/org/apache/fop/layoutmgr/inline/AlignmentContext.java @@ -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(); } |