summaryrefslogtreecommitdiff
path: root/odk/examples/java/Inspector
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/java/Inspector')
-rw-r--r--odk/examples/java/Inspector/HideableMutableTreeNode.java4
-rw-r--r--odk/examples/java/Inspector/Inspector.java1
-rw-r--r--odk/examples/java/Inspector/InspectorAddon.java1
-rw-r--r--odk/examples/java/Inspector/InspectorPane.java3
-rw-r--r--odk/examples/java/Inspector/ProtocolHandlerAddon.java21
-rw-r--r--odk/examples/java/Inspector/SwingTreeControlProvider.java2
6 files changed, 12 insertions, 20 deletions
diff --git a/odk/examples/java/Inspector/HideableMutableTreeNode.java b/odk/examples/java/Inspector/HideableMutableTreeNode.java
index 8b00c407bef6..ffa39db2e743 100644
--- a/odk/examples/java/Inspector/HideableMutableTreeNode.java
+++ b/odk/examples/java/Inspector/HideableMutableTreeNode.java
@@ -42,7 +42,7 @@ public class HideableMutableTreeNode extends DefaultMutableTreeNode {
* Creates a tree node with no parent, no children, but which allows
* children, and initializes it with the specified user object.
*
- * @param userObject - an Object provided by the user that
+ * @param _userObject - an Object provided by the user that
* constitutes the node's data
*/
public HideableMutableTreeNode(Object _userObject) {
@@ -72,7 +72,7 @@ public class HideableMutableTreeNode extends DefaultMutableTreeNode {
/**
* Sets if the node is visible.
*
- * @param returns true if the node is visible, else false
+ * @param _bIsVisible true if the node is visible, else false
*/
public void setVisible(boolean _bIsVisible) {
this.bIsvisible = _bIsVisible;
diff --git a/odk/examples/java/Inspector/Inspector.java b/odk/examples/java/Inspector/Inspector.java
index b2bde74b17e4..80fc6598d888 100644
--- a/odk/examples/java/Inspector/Inspector.java
+++ b/odk/examples/java/Inspector/Inspector.java
@@ -351,7 +351,6 @@ public class Inspector{
// Implement the interface XServiceInfo
/** Test, if the given service will be supported.
- * @param sService Service name.
* @return Return true, if the service will be supported.
*/
public boolean supportsService( String sServiceName ) {
diff --git a/odk/examples/java/Inspector/InspectorAddon.java b/odk/examples/java/Inspector/InspectorAddon.java
index 862a812003ff..c455ec265e49 100644
--- a/odk/examples/java/Inspector/InspectorAddon.java
+++ b/odk/examples/java/Inspector/InspectorAddon.java
@@ -164,7 +164,6 @@ public class InspectorAddon {
// Implement the interface XServiceInfo
/** Test, if the given service will be supported.
- * @param sService Service name.
* @return Return true, if the service will be supported.
*/
public boolean supportsService( String sServiceName ) {
diff --git a/odk/examples/java/Inspector/InspectorPane.java b/odk/examples/java/Inspector/InspectorPane.java
index 8965312d4c51..27cbf50b1d8e 100644
--- a/odk/examples/java/Inspector/InspectorPane.java
+++ b/odk/examples/java/Inspector/InspectorPane.java
@@ -59,7 +59,6 @@ import com.sun.star.uno.XComponentContext;
/** The constructor of the inner class has a XMultiServiceFactory parameter.
- * @param xMultiServiceFactory XMultiServiceFactory
*/
public InspectorPane(XComponentContext _xComponentContext, XDialogProvider _xDialogProvider, XTreeControlProvider _xTreeControlProvider, int _nLanguage) {
m_xComponentContext = _xComponentContext;
@@ -72,7 +71,7 @@ import com.sun.star.uno.XComponentContext;
/** Inspect the given object for methods, properties, interfaces, and
* services.
- * @param a The object to inspect
+ * @param _oUserDefinedObject The object to inspect
* @throws RuntimeException If
*/
public void inspect(java.lang.Object _oUserDefinedObject, String _sTitle) throws com.sun.star.uno.RuntimeException {
diff --git a/odk/examples/java/Inspector/ProtocolHandlerAddon.java b/odk/examples/java/Inspector/ProtocolHandlerAddon.java
index 340b1fcc1af3..58dd04ff35bf 100644
--- a/odk/examples/java/Inspector/ProtocolHandlerAddon.java
+++ b/odk/examples/java/Inspector/ProtocolHandlerAddon.java
@@ -81,7 +81,7 @@ public class ProtocolHandlerAddon {
/** The constructor of the inner class has a XMultiServiceFactory parameter.
- * @param xmultiservicefactoryInitialization A special service factory
+ * @param xComponentContext A special service factory
* could be introduced while initializing.
*/
public ProtocolHandlerAddonImpl( XComponentContext xComponentContext ) {
@@ -92,7 +92,7 @@ public class ProtocolHandlerAddon {
* directly after its creation.
* @param object This array of arbitrary objects will be passed to the
* component after its creation.
- * @throws Exception Every exception will not be handled, but will be
+ * @throws com.sun.star.uno.Exception Every exception will not be handled, but will be
* passed to the caller.
*/
public void initialize( Object[] object )
@@ -124,7 +124,7 @@ public class ProtocolHandlerAddon {
/** This method returns true, if the given service will be
* supported by the component.
- * @param stringService Service name.
+ * @param sService Service name.
* @return True, if the given service name will be supported.
*/
public boolean supportsService( String sService ) {
@@ -238,13 +238,8 @@ public class ProtocolHandlerAddon {
* <p>
* @return Returns a <code>XSingleServiceFactory</code> for creating the
* component.
- * @see com.sun.star.comp.loader.JavaLoader#
- * @param stringImplementationName The implementation name of the component.
- * @param xmultiservicefactory The service manager, who gives access to every
- * known service.
- * @param xregistrykey Makes structural information (except regarding tree
- * structures) of a single
- * registry key accessible.
+ * @see com.sun.star.comp.loader.JavaLoader
+ * @param sImplementationName The implementation name of the component.
*/
public static XSingleComponentFactory __getComponentFactory( String sImplementationName ) {
XSingleComponentFactory xFactory = null;
@@ -259,9 +254,9 @@ public class ProtocolHandlerAddon {
/** Writes the service information into the given registry key.
* This method is called by the <code>JavaLoader</code>.
* @return returns true if the operation succeeded
- * @see com.sun.star.comp.loader.JavaLoader#
- * @see com.sun.star.lib.uno.helper.Factory#
- * @param xregistrykey Makes structural information (except regarding tree
+ * @see com.sun.star.comp.loader.JavaLoader
+ * @see com.sun.star.lib.uno.helper.Factory
+ * @param xRegistryKey Makes structural information (except regarding tree
* structures) of a single
* registry key accessible.
*/
diff --git a/odk/examples/java/Inspector/SwingTreeControlProvider.java b/odk/examples/java/Inspector/SwingTreeControlProvider.java
index b61348cafbcd..1ad7d276dde2 100644
--- a/odk/examples/java/Inspector/SwingTreeControlProvider.java
+++ b/odk/examples/java/Inspector/SwingTreeControlProvider.java
@@ -174,7 +174,7 @@ public class SwingTreeControlProvider implements XTreeControlProvider{
/** Inspect the given object for methods, properties, interfaces, and
* services.
- * @param a The object to inspect
+ * @param _oUserDefinedObject The object to inspect
* @throws RuntimeException If
*/
public Object inspect(java.lang.Object _oUserDefinedObject, String _sTitle) throws com.sun.star.uno.RuntimeException {