summaryrefslogtreecommitdiff
path: root/gnu/xml/xpath/FloorFunction.java
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/xml/xpath/FloorFunction.java')
-rw-r--r--gnu/xml/xpath/FloorFunction.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/xml/xpath/FloorFunction.java b/gnu/xml/xpath/FloorFunction.java
index c03c0e7ed..bbf56c911 100644
--- a/gnu/xml/xpath/FloorFunction.java
+++ b/gnu/xml/xpath/FloorFunction.java
@@ -54,9 +54,9 @@ final class FloorFunction
final Expr arg;
- FloorFunction(List args)
+ FloorFunction(List<Expr> args)
{
- this((Expr) args.get(0));
+ this(args.get(0));
}
FloorFunction(Expr arg)
@@ -64,6 +64,7 @@ final class FloorFunction
this.arg = arg;
}
+ @Override
public Object evaluate(Node context, int pos, int len)
{
Object val = arg.evaluate(context, pos, len);