aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area/Block.java
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2011-01-14 23:57:55 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2011-01-14 23:57:55 +0000
commit37f7acac321f349d2ca3d6f2461c598030439c23 (patch)
tree81b3ee2c667a036b794bbf4f0985b15cc9f7f122 /src/java/org/apache/fop/area/Block.java
parentc3245eafd9feec646a26c7e98927f45f73cd25a4 (diff)
downloadxmlgraphics-fop-37f7acac321f349d2ca3d6f2461c598030439c23.tar.gz
xmlgraphics-fop-37f7acac321f349d2ca3d6f2461c598030439c23.zip
Eliminate unnecessary boxing
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059210 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/area/Block.java')
-rw-r--r--src/java/org/apache/fop/area/Block.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/area/Block.java b/src/java/org/apache/fop/area/Block.java
index e37931510..423dcfafa 100644
--- a/src/java/org/apache/fop/area/Block.java
+++ b/src/java/org/apache/fop/area/Block.java
@@ -130,7 +130,7 @@ public class Block extends BlockParent {
*/
public int getStartIndent() {
Integer startIndent = (Integer)getTrait(Trait.START_INDENT);
- return (startIndent != null ? startIndent.intValue() : 0);
+ return (startIndent != null ? startIndent : 0);
}
}