From a52c25272ed25c4531acafdf20a82dfdd154e473 Mon Sep 17 00:00:00 2001 From: Tom Morris Date: Mon, 6 Jun 2011 22:38:50 +0000 Subject: [PATCH] Issue 342 - help text update git-svn-id: http://google-refine.googlecode.com/svn/trunk@2090 7d457c2a-affb-35e4-300a-418c747d4874 --- main/src/com/google/refine/expr/functions/html/OwnText.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/src/com/google/refine/expr/functions/html/OwnText.java b/main/src/com/google/refine/expr/functions/html/OwnText.java index 3fdd22e2c..008d5fcfd 100644 --- a/main/src/com/google/refine/expr/functions/html/OwnText.java +++ b/main/src/com/google/refine/expr/functions/html/OwnText.java @@ -45,6 +45,7 @@ import com.google.refine.grel.Function; public class OwnText implements Function { + @Override public Object call(Properties bindings, Object[] args) { if (args.length >= 1) { Object o1 = args[0]; @@ -60,11 +61,12 @@ public class OwnText implements Function { } + @Override public void write(JSONWriter writer, Properties options) throws JSONException { writer.object(); - writer.key("description"); writer.value("Gets the text owned by this element only; does not get the combined text of all children."); + writer.key("description"); writer.value("Gets the text owned by this HTML element only; does not get the combined text of all children."); writer.key("params"); writer.value("Element e"); writer.key("returns"); writer.value("String ownText"); writer.endObject();