aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/expr/CeilingFunction.java
diff options
context:
space:
mode:
authorGlenn Adams <gadams@apache.org>2012-04-22 20:09:42 +0000
committerGlenn Adams <gadams@apache.org>2012-04-22 20:09:42 +0000
commit41d337ba2c4ec959d33085507c0acdc0683db028 (patch)
tree0caa282c53fbd34a698331bd20b7161dfe98c97e /src/java/org/apache/fop/fo/expr/CeilingFunction.java
parent0b18292f887bb18afb46eb75ae92d7731ee5644b (diff)
downloadxmlgraphics-fop-41d337ba2c4ec959d33085507c0acdc0683db028.tar.gz
xmlgraphics-fop-41d337ba2c4ec959d33085507c0acdc0683db028.zip
Snapshot commit - does not build!
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1328963 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/expr/CeilingFunction.java')
-rw-r--r--src/java/org/apache/fop/fo/expr/CeilingFunction.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/fo/expr/CeilingFunction.java b/src/java/org/apache/fop/fo/expr/CeilingFunction.java
index 875c88751..9c69cd1bc 100644
--- a/src/java/org/apache/fop/fo/expr/CeilingFunction.java
+++ b/src/java/org/apache/fop/fo/expr/CeilingFunction.java
@@ -24,12 +24,13 @@ import org.apache.fop.fo.properties.Property;
class CeilingFunction extends FunctionBase {
- public int nbArgs() {
+ /** {@inheritDoc} */
+ public int getRequiredArgsCount() {
return 1;
}
- public Property eval(Property[] args,
- PropertyInfo pInfo) throws PropertyException {
+ /** {@inheritDoc} */
+ public Property eval(Property[] args, PropertyInfo pInfo) throws PropertyException {
Number dbl = args[0].getNumber();
if (dbl == null) {
throw new PropertyException("Non number operand to ceiling function");