From 055520939d62f7d45ddf59d7944844a0744e7e46 Mon Sep 17 00:00:00 2001 From: "Andreas L. Delmelle" Date: Fri, 18 Feb 2011 18:36:26 +0000 Subject: [PATCH] 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 --- .../apache/fop/layoutmgr/inline/AlignmentContext.java | 10 +++++----- 1 file 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(); } -- 2.39.5