Skip to content

Commit c20fe25

Browse files
authored
fix declared function name
1 parent 7db32a6 commit c20fe25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/javarosa/xpath/expr/XPathPolygonDistanceFunc.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import java.util.List;
1313

1414
public class XPathPolygonDistanceFunc extends XPathFuncExpr{
15-
public static final String NAME = "boundaryDistance";
15+
public static final String NAME = "polygon-distance";
1616
private static final int EXPECTED_ARG_COUNT = 2;
1717

1818
public XPathPolygonDistanceFunc() {
@@ -59,4 +59,4 @@ public static Double boundaryDistance(Object from, Object to) {
5959
"numeric values only, but received arguments: " + unpackedFrom + " and " + unpackedTo);
6060
}
6161
}
62-
}
62+
}

0 commit comments

Comments
 (0)