diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2013-04-09 17:31:41 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2013-04-09 17:31:41 +0000 |
commit | 37ea66b1918a88490046c51ed1ac8acd49c661b7 (patch) | |
tree | e019cba719102e952845903812fb97521c7ec0e2 /src/java/org/apache/fop/fo/expr/FromParentFunction.java | |
parent | ce39d4c2fb899be5d8d705fe72e0153fde21e592 (diff) | |
download | xmlgraphics-fop-37ea66b1918a88490046c51ed1ac8acd49c661b7.tar.gz xmlgraphics-fop-37ea66b1918a88490046c51ed1ac8acd49c661b7.zip |
Cosmetics only: enabled Checkstyle ParenPad rule and fixed corresponding violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1466146 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/expr/FromParentFunction.java')
-rw-r--r-- | src/java/org/apache/fop/fo/expr/FromParentFunction.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/fo/expr/FromParentFunction.java b/src/java/org/apache/fop/fo/expr/FromParentFunction.java index e24074e9d..ce6873e54 100644 --- a/src/java/org/apache/fop/fo/expr/FromParentFunction.java +++ b/src/java/org/apache/fop/fo/expr/FromParentFunction.java @@ -43,10 +43,10 @@ public class FromParentFunction extends FunctionBase { @Override /** {@inheritDoc} */ public Property getOptionalArgDefault(int index, PropertyInfo pi) throws PropertyException { - if ( index == 0 ) { - return getPropertyName ( pi ); + if (index == 0) { + return getPropertyName (pi); } else { - return super.getOptionalArgDefault ( index, pi ); + return super.getOptionalArgDefault (index, pi); } } |