summaryrefslogtreecommitdiff
path: root/scripting/java/com/sun/star/script/framework
diff options
context:
space:
mode:
authorrbuj <robert.buj@gmail.com>2014-09-01 17:16:16 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-09-02 02:05:52 -0500
commitb1492e6af1e626b09ed5cc6e5f63c31605a6f582 (patch)
tree2316aa52573bf0f5f5fe79d48ff682e7fef11f25 /scripting/java/com/sun/star/script/framework
parent219ee12ffa5982b3ce4c6889193e197640e15756 (diff)
scripting: fix javadoc error: unknown tag: returns
Change-Id: Ib257ad76b2571755bdb744ad128ba1e558207eee Reviewed-on: https://gerrit.libreoffice.org/11233 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'scripting/java/com/sun/star/script/framework')
-rw-r--r--scripting/java/com/sun/star/script/framework/provider/EditorScriptContext.java9
-rw-r--r--scripting/java/com/sun/star/script/framework/provider/ScriptContext.java9
-rw-r--r--scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell.java2
-rw-r--r--scripting/java/com/sun/star/script/framework/provider/java/ScriptProviderForJava.java2
-rw-r--r--scripting/java/com/sun/star/script/framework/provider/javascript/ScriptProviderForJavaScript.java2
5 files changed, 9 insertions, 15 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/EditorScriptContext.java b/scripting/java/com/sun/star/script/framework/provider/EditorScriptContext.java
index 95759365c845..994a62700db0 100644
--- a/scripting/java/com/sun/star/script/framework/provider/EditorScriptContext.java
+++ b/scripting/java/com/sun/star/script/framework/provider/EditorScriptContext.java
@@ -39,8 +39,7 @@ public class EditorScriptContext implements XScriptContext
/**
Obtain the document reference on which the script can operate
- @returns
- XModel interface
+ @return XModel interface
*/
public XModel getDocument()
{
@@ -60,8 +59,7 @@ public class EditorScriptContext implements XScriptContext
/**
Obtain the desktop reference on which the script can operate
- @returns
- XDesktop interface
+ @return XDesktop interface
*/
public XDesktop getDesktop()
{
@@ -71,8 +69,7 @@ public class EditorScriptContext implements XScriptContext
/**
Obtain the component context which the script can use to create other uno components
- @returns
- XComponentContext interface
+ @return XComponentContext interface
*/
public XComponentContext getComponentContext()
{
diff --git a/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java b/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java
index 8e7d0ec4f986..2fda9defd692 100644
--- a/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java
+++ b/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java
@@ -102,8 +102,7 @@ public class ScriptContext extends PropertySet implements XScriptContext
/**
Obtain the document reference on which the script can operate
- @returns
- XModel interface
+ @return XModel interface
*/
public XModel getDocument()
{
@@ -118,8 +117,7 @@ public class ScriptContext extends PropertySet implements XScriptContext
/**
Obtain the desktop reference on which the script can operate
- @returns
- XDesktop interface
+ @return XDesktop interface
*/
public XDesktop getDesktop()
{
@@ -129,8 +127,7 @@ public class ScriptContext extends PropertySet implements XScriptContext
/**
Obtain the component context which the script can use to create other uno components
- @returns
- XComponentContext interface
+ @return XComponentContext interface
*/
public XComponentContext getComponentContext()
{
diff --git a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell.java b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell.java
index 82f2aff4469d..6623005a984d 100644
--- a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell.java
+++ b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell.java
@@ -161,7 +161,7 @@ class ScriptImpl implements XScript
*
* @param aOutParam Out parameters
*
- * @returns The value returned from the function
+ * @return The value returned from the function
* being invoked
*
* @throws IllegalArgumentException If there is no matching script name
diff --git a/scripting/java/com/sun/star/script/framework/provider/java/ScriptProviderForJava.java b/scripting/java/com/sun/star/script/framework/provider/java/ScriptProviderForJava.java
index 66fe5a03719b..e5761d1e2bc2 100644
--- a/scripting/java/com/sun/star/script/framework/provider/java/ScriptProviderForJava.java
+++ b/scripting/java/com/sun/star/script/framework/provider/java/ScriptProviderForJava.java
@@ -161,7 +161,7 @@ class ScriptImpl implements XScript
* sequence, i.e., the value has to be ignored by the callee
* @param aOutParamIndex Out indices
* @param aOutParam Out parameters
- * @returns The value returned from the function being invoked
+ * @return The value returned from the function being invoked
* @throws IllegalArgumentException If there is no matching script name
* @throws CannotConvertException If args do not match or cannot be converted
* the those of the invokee
diff --git a/scripting/java/com/sun/star/script/framework/provider/javascript/ScriptProviderForJavaScript.java b/scripting/java/com/sun/star/script/framework/provider/javascript/ScriptProviderForJavaScript.java
index 00d2ab679290..ff805344bad9 100644
--- a/scripting/java/com/sun/star/script/framework/provider/javascript/ScriptProviderForJavaScript.java
+++ b/scripting/java/com/sun/star/script/framework/provider/javascript/ScriptProviderForJavaScript.java
@@ -160,7 +160,7 @@ class ScriptImpl implements XScript
*
* @param aOutParam Out parameters
*
- * @returns The value returned from the function
+ * @return The value returned from the function
* being invoked
*
* @throws ScriptFrameworkErrorException If there is no matching script name