diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-07 09:21:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-12 09:41:31 +0200 |
commit | 5656fe58a0e2083be45c0b9ca7aff41054d7146a (patch) | |
tree | 175b0052de6f182a78c2c1cbc370cbc86c07593c /odk/examples | |
parent | 1c496506bc0d720241e5f9877681197e3b6d576a (diff) |
java: fix broken javadoc tags
Change-Id: I43d25ba49b758739ee8dc891b0db3e527004ec8b
Diffstat (limited to 'odk/examples')
29 files changed, 33 insertions, 79 deletions
diff --git a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java index 66d25f2ed708..bb1cdb86109d 100644 --- a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java +++ b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java @@ -80,7 +80,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 ) { @@ -91,7 +91,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 ) @@ -123,7 +123,6 @@ public class ProtocolHandlerAddon { /** This method returns true, if the given service will be * supported by the component. - * @param stringService Service name. * @return True, if the given service name will be supported. */ public boolean supportsService( String sService ) { @@ -237,13 +236,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; diff --git a/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java b/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java index 02553e81c27e..2272d1b4ea72 100644 --- a/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java +++ b/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java @@ -54,8 +54,6 @@ public class LicenseTest { "org.openoffice.LicenseTest"; /** The constructor of the inner class has a XMultiServiceFactory parameter. - * @param xmultiservicefactoryInitialization A special service factory - * could be introduced while initializing. */ public _LicenseTest() { } @@ -119,7 +117,7 @@ public class LicenseTest { * 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 ) diff --git a/odk/examples/DevelopersGuide/Forms/FormLayer.java b/odk/examples/DevelopersGuide/Forms/FormLayer.java index e7eb0699347b..1bd48667d75b 100644 --- a/odk/examples/DevelopersGuide/Forms/FormLayer.java +++ b/odk/examples/DevelopersGuide/Forms/FormLayer.java @@ -260,7 +260,7 @@ public class FormLayer * the parent form of the radio button model to find * @param name * the name of the radio button - * @param refValue + * @param tag * the tag of the radio button */ public XPropertySet getRadioModelByTag( XPropertySet form, String name, String tag ) throws com.sun.star.uno.Exception, java.lang.Exception diff --git a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java index 1650c9af583c..1b68cfa81c76 100644 --- a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java +++ b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java @@ -1185,7 +1185,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis } /** gets the WindowPeer of a frame - * @param _XTextDocument the instance of a textdocument + * @param _xTextDocument the instance of a textdocument * @return the windowpeer of the frame */ public XWindowPeer getWindowPeer(XTextDocument _xTextDocument){ diff --git a/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java b/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java index 00821f648016..3f0297dcc0ac 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java +++ b/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java @@ -140,8 +140,6 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor { /** *Description of the Method - * - *@param args Description of Parameter */ public ContextMenuInterceptorAction notifyContextMenuExecute( com.sun.star.ui.ContextMenuExecuteEvent aEvent ) throws RuntimeException { diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java index a3576b0fc1ae..8972dd0ab99a 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java @@ -171,10 +171,6 @@ public class CustomizeView extends JPanel * We use this information to update our check boxes again. * But such update doesn't force (hopefully) an action event. Otherwhise * we can produce a never ending recursion! - * - * @param aEvent - * describes the used check box and his current state - * we can use to dispatch the right URL to the office */ class ClickListener implements ActionListener, com.sun.star.lang.XEventListener diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java index 7b20bb4e56a6..d89a413decff 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java @@ -53,7 +53,7 @@ public class Desk * * syntax: Desk [mode={inplace|outplace}] [file=<filename>] * - * @param args command line arguments + * @param lArguments command line arguments * mode describe using mode of document view {inplace/outplace} * default=inplace * file name of first file which should be open diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java index 2f9b8e153bee..44159959398d 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java @@ -926,7 +926,6 @@ public class FunctionHelper * only, it's enough to check the names of existing child frames on the * desktop only. * - * @return [String] * should represent an unique frame name, which currently isn't * used inside the remote office frame tree * (Couldn't guaranteed for a real multithreaded environment. diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java index d6f1846f962f..7b409921ec11 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java @@ -189,7 +189,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener, * But we shouldn't start such action - if it's not really necessary. * So we check before, if we are intereested on this event really. * - * @see impl_frameAction() + * @see #impl_frameAction * * @param aEvent * describes the action, which triggered this event diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java index 1cade50192f8..d709edd804d4 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java +++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java @@ -127,10 +127,9 @@ public class AsciiReplaceFilter /** * The constructor to initialize every instance * - * @param xCompContext + * @param Context * the component context of the office */ - //ctor public _AsciiReplaceFilter(XComponentContext Context ) { measure("ctor started"); @@ -167,7 +166,7 @@ public class AsciiReplaceFilter * This array of arbitrary objects represent our own filter configuration * and may optional given parameters of the createWithArguments() call. * - * @throws Exception + * @throws com.sun.star.uno.Exception * Every exception will not be handled, but will be * passed to the caller. */ diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java index fe3bb4248dc2..66ac7893f835 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java +++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java @@ -82,7 +82,7 @@ public class FilterOptions * which can be used after creation of an object instance * to set a new descriptor here. * - * @param xSMGR + * @param xMCF * we need it to create special help service top open * streams in case they are not already a part of given * MediaDescriptor diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java index 359488231177..fbaf25e5d9cc 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java @@ -493,7 +493,7 @@ public class SampleHyphenator extends ComponentBase implements * This method is called by the <code>JavaLoader</code> * <p> * @return returns a <code>XComponentServiceFactory</code> for creating the component - * @param implName the name of the implementation for which a service is desired + * @param aImplName the name of the implementation for which a service is desired * @see com.sun.star.comp.loader.JavaLoader */ public static XSingleComponentFactory __getComponentFactory( diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleSpellChecker.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleSpellChecker.java index 0b6be21573f2..afc63d95d8eb 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleSpellChecker.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleSpellChecker.java @@ -436,7 +436,7 @@ public class SampleSpellChecker extends ComponentBase implements * This method is called by the <code>JavaLoader</code> * <p> * @return returns a <code>XSingleComponentFactory</code> for creating the component - * @param implName the name of the implementation for which a service is desired + * @param aImplName the name of the implementation for which a service is desired * @see com.sun.star.comp.loader.JavaLoader */ public static XSingleComponentFactory __getComponentFactory( diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java index 9491421b4466..babf7a6afb4f 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java @@ -272,7 +272,7 @@ public class SampleThesaurus extends ComponentBase implements * This method is called by the <code>JavaLoader</code> * <p> * @return returns a <code>XSingleComponentFactory</code> for creating the component - * @param implName the name of the implementation for which a service is desired + * @param aImplName the name of the implementation for which a service is desired * @see com.sun.star.comp.loader.JavaLoader */ public static XSingleComponentFactory __getComponentFactory( diff --git a/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java b/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java index 0b14189bbf2c..9764718a1751 100644 --- a/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java +++ b/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java @@ -278,8 +278,6 @@ public class ChildrenRetriever { /** * Create a new connection with the specific args to a running office and * access the children from a folder. - * - *@param String[] Arguments */ public static void main ( String args[] ) { diff --git a/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java b/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java index 81977ae2c005..dad05c1153e4 100644 --- a/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java +++ b/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java @@ -92,8 +92,8 @@ public class DataStreamComposer { /** * Write the document data stream of a document content. * - *@param String Source URL - *@return boolean Returns true if data stream successfully seted, false otherwise + *@param sourceURL Source URL + *@return true if data stream successfully seted, false otherwise */ public boolean setDataStream( String sourceURL ) throws com.sun.star.ucb.CommandAbortedException, @@ -200,8 +200,6 @@ public class DataStreamComposer { /** * Create a new connection with the specific args to a running office and * set the Content Data Stream of a UCB Document Content. - * - *@param String[] Arguments */ public static void main ( String args[] ) { System.out.println( "\n" ); diff --git a/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java b/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java index 62ca893cfcdf..9865734d1e35 100644 --- a/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java +++ b/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java @@ -176,8 +176,6 @@ public class DataStreamRetriever { /** * Create a new connection with the specific args to a running office and * access (Load) the content data stream of a UCB document content. - * - *@param String[] Arguments */ public static void main ( String args[] ) { System.out.println( "\n" ); diff --git a/odk/examples/DevelopersGuide/UCB/MyInputStream.java b/odk/examples/DevelopersGuide/UCB/MyInputStream.java index d3c701c71776..d2e154aaea05 100644 --- a/odk/examples/DevelopersGuide/UCB/MyInputStream.java +++ b/odk/examples/DevelopersGuide/UCB/MyInputStream.java @@ -84,8 +84,6 @@ public class MyInputStream implements XSeekable, XInputStream { /** * Changes the seek pointer to a new location relative to the beginning of the stream. - * - *@param long */ public synchronized void seek(long p0) throws IllegalArgumentException, com.sun.star.io.IOException, @@ -125,10 +123,6 @@ public class MyInputStream implements XSeekable, XInputStream { /** * Reads the specified number of bytes in the given sequence. - * - *@param byte[][] - *@param int - *@return int */ public synchronized int readBytes(byte[][] p0, int p1) throws NotConnectedException, BufferSizeExceededException, @@ -158,10 +152,6 @@ public class MyInputStream implements XSeekable, XInputStream { /** * Reads the available number of bytes at maximum nMaxBytesToRead . * This method blocks the thread until at least one byte is available. - * - *@param byte[][] - *@param int - *@return int */ public synchronized int readSomeBytes(byte[][] p0, int p1) throws NotConnectedException, @@ -174,8 +164,6 @@ public class MyInputStream implements XSeekable, XInputStream { /** * Skips the next nBytesToSkip bytes (must be positive). * It is up to the implementation whether this method is blocking the thread or not. - * - *@param int */ public synchronized void skipBytes(int p0) throws NotConnectedException, BufferSizeExceededException, diff --git a/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java b/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java index 013cdc2d783a..20d2f6c5a9a9 100644 --- a/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java +++ b/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java @@ -238,8 +238,6 @@ public class PropertiesComposer { /** * Create a new connection with the specific args to a running office and * set properties of a resource. - * - *@param String[] Arguments */ public static void main ( String args[] ) { System.out.println( "\n" ); 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 { diff --git a/odk/examples/java/MinimalComponent/MinimalComponent.java b/odk/examples/java/MinimalComponent/MinimalComponent.java index 1a585dfdfb91..21ff7060b16f 100644 --- a/odk/examples/java/MinimalComponent/MinimalComponent.java +++ b/odk/examples/java/MinimalComponent/MinimalComponent.java @@ -68,7 +68,7 @@ public class MinimalComponent { private XMultiComponentFactory m_xMCF; /** The constructor of the inner class has a XMultiServiceFactory parameter. - * @param xmultiservicefactoryInitialization A special service factory + * @param xCompContext A special service factory * could be introduced while initializing. */ public _MinimalComponent(XComponentContext xCompContext) { @@ -85,7 +85,7 @@ public class MinimalComponent { * 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 ) diff --git a/odk/examples/java/NotesAccess/NotesAccess.java b/odk/examples/java/NotesAccess/NotesAccess.java index 70861a8b593e..de6adbc313c2 100644 --- a/odk/examples/java/NotesAccess/NotesAccess.java +++ b/odk/examples/java/NotesAccess/NotesAccess.java @@ -74,7 +74,7 @@ public class NotesAccess implements Runnable { static String stringDatabase = ""; /** Reading the arguments and constructing the thread. - * @param argv Holding values for the host, user, and the password of the user. + * @param args Holding values for the host, user, and the password of the user. */ public static void main( String args[] ) { Thread thread; diff --git a/odk/examples/java/Spreadsheet/ChartTypeChange.java b/odk/examples/java/Spreadsheet/ChartTypeChange.java index f85c500ff5db..20fbfadb971b 100644 --- a/odk/examples/java/Spreadsheet/ChartTypeChange.java +++ b/odk/examples/java/Spreadsheet/ChartTypeChange.java @@ -127,7 +127,6 @@ public class ChartTypeChange { } /** The constructor connects to the OpenOffice.org. - * @param args Parameters for this constructor (connection string). * @throws Exception All exceptions are thrown from this method. */ public ChartTypeChange() diff --git a/odk/examples/java/ToDo/ToDo.java b/odk/examples/java/ToDo/ToDo.java index 51ed48b48c3d..d40acabff95e 100644 --- a/odk/examples/java/ToDo/ToDo.java +++ b/odk/examples/java/ToDo/ToDo.java @@ -137,7 +137,6 @@ public class ToDo { /** This method returns true, if the given service will be * supported by the component. - * @param sService Service name. * @return True, if the given service name will be supported. */ public boolean supportsService(String sServiceName) { @@ -897,7 +896,7 @@ public class ToDo { /** Writing the stack trace from an exception to a string and calling * the method showMessage() with this string. * @param exception The occurred exception. - * @see showMessage + * @see #showMessage(String) */ public void showExceptionMessage( Exception exception ) { java.io.StringWriter swriter = new java.io.StringWriter(); |