From dab59ab4bcadb14bef9ad7d185d58610fda22012 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 27 Jun 2012 12:57:12 +0200 Subject: Java cleanup - fix javadoc comments and invalid tags Change-Id: Id1bb14458203393a2f40e0333afc62416719b1a0 --- .../com/sun/star/wizards/agenda/AgendaTemplate.java | 4 ++-- wizards/com/sun/star/wizards/agenda/CallWizard.java | 2 +- wizards/com/sun/star/wizards/common/ConfigSet.java | 8 +------- .../com/sun/star/wizards/common/NumericalHelper.java | 2 +- wizards/com/sun/star/wizards/db/DBMetaData.java | 6 +++--- wizards/com/sun/star/wizards/db/TableDescriptor.java | 2 +- .../com/sun/star/wizards/document/OfficeDocument.java | 1 - wizards/com/sun/star/wizards/fax/CallWizard.java | 2 +- wizards/com/sun/star/wizards/form/CallFormWizard.java | 15 ++++++--------- wizards/com/sun/star/wizards/letter/CallWizard.java | 2 +- .../com/sun/star/wizards/query/CallQueryWizard.java | 18 +++++++----------- .../com/sun/star/wizards/report/CallReportWizard.java | 13 +++++-------- .../com/sun/star/wizards/report/IReportDocument.java | 3 +-- .../reportbuilder/ReportBuilderImplementation.java | 1 - .../reportbuilder/layout/ReportBuilderLayouter.java | 19 +++++++++++-------- .../com/sun/star/wizards/table/CallTableWizard.java | 15 ++++++--------- wizards/com/sun/star/wizards/text/TextDocument.java | 1 - wizards/com/sun/star/wizards/ui/ButtonList.java | 2 -- wizards/com/sun/star/wizards/ui/ControlScroller.java | 14 +++++++------- wizards/com/sun/star/wizards/ui/ImageList.java | 2 -- wizards/com/sun/star/wizards/ui/UnoDialog.java | 6 +++--- .../sun/star/wizards/ui/event/DataAwareFields.java | 1 - wizards/com/sun/star/wizards/ui/event/TaskEvent.java | 3 --- .../com/sun/star/wizards/web/BackgroundsDialog.java | 2 +- wizards/com/sun/star/wizards/web/CallWizard.java | 2 +- wizards/com/sun/star/wizards/web/FTPDialog.java | 2 +- wizards/com/sun/star/wizards/web/ImageListDialog.java | 2 +- wizards/com/sun/star/wizards/web/StatusDialog.java | 4 ++-- wizards/com/sun/star/wizards/web/StylePreview.java | 4 ++-- wizards/com/sun/star/wizards/web/data/CGDocument.java | 4 ++-- wizards/com/sun/star/wizards/web/data/CGPublish.java | 2 +- wizards/com/sun/star/wizards/web/data/CGSettings.java | 1 - wizards/com/sun/star/wizards/web/export/Exporter.java | 5 ++--- .../com/sun/star/wizards/web/status/TaskEvent.java | 3 --- 34 files changed, 70 insertions(+), 103 deletions(-) (limited to 'wizards') diff --git a/wizards/com/sun/star/wizards/agenda/AgendaTemplate.java b/wizards/com/sun/star/wizards/agenda/AgendaTemplate.java index 55e112c72e31..5f9e3db1348c 100644 --- a/wizards/com/sun/star/wizards/agenda/AgendaTemplate.java +++ b/wizards/com/sun/star/wizards/agenda/AgendaTemplate.java @@ -181,8 +181,8 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data * loads the given template, and analyze its structure. * @param templateURL * @param topics - * @see AgendaTemplate.initialize() - * @see AgendaTemplate.initializeData() + * @see #initialize() + * @see #initializeData(List) */ public synchronized void load(String templateURL, List topics) { diff --git a/wizards/com/sun/star/wizards/agenda/CallWizard.java b/wizards/com/sun/star/wizards/agenda/CallWizard.java index 3999d16b6a63..9a16ac330ac6 100644 --- a/wizards/com/sun/star/wizards/agenda/CallWizard.java +++ b/wizards/com/sun/star/wizards/agenda/CallWizard.java @@ -49,7 +49,7 @@ public class CallWizard { * * @return Returns a XSingleServiceFactory for creating the component. * - * @see com.sun.star.comp.loader.JavaLoader# + * @see com.sun.star.comp.loader.JavaLoader */ public static XSingleServiceFactory __getServiceFactory(String stringImplementationName, XMultiServiceFactory xMSF, XRegistryKey xregistrykey) { XSingleServiceFactory xsingleservicefactory = null; diff --git a/wizards/com/sun/star/wizards/common/ConfigSet.java b/wizards/com/sun/star/wizards/common/ConfigSet.java index 334f0c610c53..5266c694e2b2 100644 --- a/wizards/com/sun/star/wizards/common/ConfigSet.java +++ b/wizards/com/sun/star/wizards/common/ConfigSet.java @@ -297,8 +297,6 @@ public class ConfigSet implements ConfigNode, XMLProvider, ListModel } /** Notifies all registered listeners about the event. - * - * @param event The event to be fired * */ private void fireListDataListenerIntervalAdded(int i0, int i1) @@ -319,8 +317,6 @@ public class ConfigSet implements ConfigNode, XMLProvider, ListModel } /** Notifies all registered listeners about the event. - * - * @param event The event to be fired * */ private void fireListDataListenerIntervalRemoved(int i0, int i1) @@ -341,8 +337,6 @@ public class ConfigSet implements ConfigNode, XMLProvider, ListModel } /** Notifies all registered listeners about the event. - * - * @param event The event to be fired * */ private void fireListDataListenerContentsChanged(int i0, int i1) @@ -394,7 +388,7 @@ public class ConfigSet implements ConfigNode, XMLProvider, ListModel * the index number 0 * Do not forget to call commit() after calling this method. * @param confView - * @param memebrName + * @param memberName */ public void reindexSet(Object confView, String memberName, String indexPropertyName) throws Exception { diff --git a/wizards/com/sun/star/wizards/common/NumericalHelper.java b/wizards/com/sun/star/wizards/common/NumericalHelper.java index 140cab96e131..cd8a410b0a4e 100644 --- a/wizards/com/sun/star/wizards/common/NumericalHelper.java +++ b/wizards/com/sun/star/wizards/common/NumericalHelper.java @@ -1534,7 +1534,7 @@ public class NumericalHelper * converted using ASCII letters (3999 -> MMMCMXCIX). * @param n the arabic number * @return the roman equivalent as string - * @throws BasicErrorException if the number cannot be converted. + * @throws com.sun.star.script.BasicErrorException if the number cannot be converted. */ public static String getRomanEquivalent(int n) throws Exception diff --git a/wizards/com/sun/star/wizards/db/DBMetaData.java b/wizards/com/sun/star/wizards/db/DBMetaData.java index f8a40fafa44a..ae23246ba1b5 100644 --- a/wizards/com/sun/star/wizards/db/DBMetaData.java +++ b/wizards/com/sun/star/wizards/db/DBMetaData.java @@ -819,8 +819,8 @@ public class DBMetaData /** * inserts a Query to a datasource; There is no validation if the queryname is already existing in the datasource - * @param oQuery - * @param QueryName + * @param _oSQLQueryComposer + * @param _QueryName */ public boolean createQuery(SQLQueryComposer _oSQLQueryComposer, String _QueryName) { @@ -914,7 +914,7 @@ public class DBMetaData * the document may not be open * @param _xComponent * @param _xDocNameAccess - * @param _bcreateTemplate describes the type of the document: "form" or "report" + * @param i_createTemplate describes the type of the document: "form" or "report" */ public void addDatabaseDocument(XComponent _xComponent, XHierarchicalNameAccess _xDocNameAccess, boolean i_createTemplate) { diff --git a/wizards/com/sun/star/wizards/db/TableDescriptor.java b/wizards/com/sun/star/wizards/db/TableDescriptor.java index f4ea1a6b9d72..2419c42f5a2d 100644 --- a/wizards/com/sun/star/wizards/db/TableDescriptor.java +++ b/wizards/com/sun/star/wizards/db/TableDescriptor.java @@ -804,7 +804,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } /** - * @param _stablename + * @param _scomposedtablename * @return */ public boolean appendTableNameToFilter(String _scomposedtablename) diff --git a/wizards/com/sun/star/wizards/document/OfficeDocument.java b/wizards/com/sun/star/wizards/document/OfficeDocument.java index ec21a424a4a6..7436f26c2a5d 100644 --- a/wizards/com/sun/star/wizards/document/OfficeDocument.java +++ b/wizards/com/sun/star/wizards/document/OfficeDocument.java @@ -112,7 +112,6 @@ public class OfficeDocument /** * Create a new office document, attached to the given frame. - * @param desktop * @param frame * @param sDocumentType e.g. swriter, scalc, ( simpress, scalc : not tested) * @return the document Component (implements XComponent) object ( XTextDocument, or XSpreadsheedDocument ) diff --git a/wizards/com/sun/star/wizards/fax/CallWizard.java b/wizards/com/sun/star/wizards/fax/CallWizard.java index 6dfbe98a7712..64e341f0f7d1 100644 --- a/wizards/com/sun/star/wizards/fax/CallWizard.java +++ b/wizards/com/sun/star/wizards/fax/CallWizard.java @@ -50,7 +50,7 @@ public class CallWizard * * @return Returns a XSingleServiceFactory for creating the component. * - * @see com.sun.star.comp.loader.JavaLoader# + * @see com.sun.star.comp.loader.JavaLoader */ public static XSingleServiceFactory __getServiceFactory(String stringImplementationName, XMultiServiceFactory xMSF, XRegistryKey xregistrykey) { diff --git a/wizards/com/sun/star/wizards/form/CallFormWizard.java b/wizards/com/sun/star/wizards/form/CallFormWizard.java index f350f54cb7df..750480518be0 100644 --- a/wizards/com/sun/star/wizards/form/CallFormWizard.java +++ b/wizards/com/sun/star/wizards/form/CallFormWizard.java @@ -41,15 +41,12 @@ public class CallFormWizard /** Gives a factory for creating the service. * This method is called by the JavaLoader *

- * @return Returns a XSingleServiceFactory for creating the - * component. - * @see com.sun.star.comp.loader.JavaLoader# + * @return Returns a XSingleServiceFactory 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. + * @param xMSF 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. */ public static com.sun.star.lang.XSingleServiceFactory __getServiceFactory(String stringImplementationName, com.sun.star.lang.XMultiServiceFactory xMSF, com.sun.star.registry.XRegistryKey xregistrykey) { @@ -105,7 +102,7 @@ public class CallFormWizard * 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) throws com.sun.star.uno.Exception diff --git a/wizards/com/sun/star/wizards/letter/CallWizard.java b/wizards/com/sun/star/wizards/letter/CallWizard.java index 82912cffc19b..2276f0356dbd 100644 --- a/wizards/com/sun/star/wizards/letter/CallWizard.java +++ b/wizards/com/sun/star/wizards/letter/CallWizard.java @@ -50,7 +50,7 @@ public class CallWizard * * @return Returns a XSingleServiceFactory for creating the component. * - * @see com.sun.star.comp.loader.JavaLoader# + * @see com.sun.star.comp.loader.JavaLoader */ public static XSingleServiceFactory __getServiceFactory(String stringImplementationName, XMultiServiceFactory xMSF, XRegistryKey xregistrykey) { diff --git a/wizards/com/sun/star/wizards/query/CallQueryWizard.java b/wizards/com/sun/star/wizards/query/CallQueryWizard.java index bd631fc0afa6..eaaaef11f41f 100644 --- a/wizards/com/sun/star/wizards/query/CallQueryWizard.java +++ b/wizards/com/sun/star/wizards/query/CallQueryWizard.java @@ -43,15 +43,12 @@ public class CallQueryWizard /** Gives a factory for creating the service. * This method is called by the JavaLoader *

- * @return Returns a XSingleServiceFactory for creating the - * component. - * @see com.sun.star.comp.loader.JavaLoader# + * @return Returns a XSingleServiceFactory 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. + * @param xMSF 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. */ public static com.sun.star.lang.XSingleServiceFactory __getServiceFactory(String stringImplementationName, com.sun.star.lang.XMultiServiceFactory xMSF, com.sun.star.registry.XRegistryKey xregistrykey) { @@ -75,8 +72,7 @@ public class CallQueryWizard // /** The constructor of the inner class has a XMultiServiceFactory parameter. - * @param xmultiservicefactoryInitialization A special service factory - * could be introduced while initializing. + * @param i_serviceFactory A special service factory could be introduced while initializing. */ public QueryWizardImplementation( XMultiServiceFactory i_serviceFactory ) { @@ -113,7 +109,7 @@ public class CallQueryWizard * 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) throws com.sun.star.uno.Exception diff --git a/wizards/com/sun/star/wizards/report/CallReportWizard.java b/wizards/com/sun/star/wizards/report/CallReportWizard.java index 2708a8b1980f..b3dc50ba395f 100644 --- a/wizards/com/sun/star/wizards/report/CallReportWizard.java +++ b/wizards/com/sun/star/wizards/report/CallReportWizard.java @@ -60,15 +60,12 @@ public class CallReportWizard /** Gives a factory for creating the service. * This method is called by the JavaLoader *

- * @return Returns a XSingleServiceFactory for creating the - * component. - * @see com.sun.star.comp.loader.JavaLoader# + * @return Returns a XSingleServiceFactory for creating the component. + * @see com.sun.star.comp.loader.JavaLoader * @param stringImplementationName The implementation name of the component. - * @param xMSF 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. + * @param xMSF The service manager, who gives access to every known service. + * @param xregistrykey Makes structural information (except regarding treestructures) of a single + * registry key accessible. */ public static com.sun.star.lang.XSingleServiceFactory __getServiceFactory(String stringImplementationName, com.sun.star.lang.XMultiServiceFactory xMSF, com.sun.star.registry.XRegistryKey xregistrykey) { diff --git a/wizards/com/sun/star/wizards/report/IReportDocument.java b/wizards/com/sun/star/wizards/report/IReportDocument.java index 1ef0e9300847..4cc0e45e727f 100644 --- a/wizards/com/sun/star/wizards/report/IReportDocument.java +++ b/wizards/com/sun/star/wizards/report/IReportDocument.java @@ -208,7 +208,6 @@ public interface IReportDocument * @param Name * @param _bAsTemplate * @param _bOpenInDesign - * @return */ public void createAndOpenReportDocument( final String Name, @@ -252,7 +251,7 @@ public interface IReportDocument /** * check internal invariants - * @throws a + * @throws java.lang.Exception */ public void checkInvariants() throws java.lang.Exception; } diff --git a/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java b/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java index 14326ded92ea..473239a8b431 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java +++ b/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java @@ -119,7 +119,6 @@ public class ReportBuilderImplementation extends ReportImplementationHelper /** * initialize the Report Builder and open it representation * @param _aDoc - * @param _xConnection */ private void initialize(Object _aDoc) { diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java index 4c1a175a5a1f..a697ddea03e4 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java +++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java @@ -240,14 +240,15 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter } return nIndent; } + + int m_nLeftIndent = -1; + /** * Get left page indent. * The left indent is the area on the left side which will no be printed. * The default is 2000 1/100mm what is 2cm of DIN A4. * @return the left indent in 1/100mm */ - int m_nLeftIndent = -1; - protected int getLeftPageIndent() { if (m_nLeftIndent < 0) @@ -256,14 +257,15 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter } return m_nLeftIndent; } + + int m_nRightIndent = -1; + /** * Get right page indent. * The right indent is the area on the right side which will no be printed. * The default is 2000 1/100mm what is 2cm of DIN A4. * @return the right indent in 1/100mm */ - int m_nRightIndent = -1; - protected int getRightPageIndent() { if (m_nRightIndent < 0) @@ -330,12 +332,13 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter aHelper.setPropertyValueDontThrow(_sStyleName, _aObj); } } + + int m_nPageWidth = -1; + /** * Get page width. The default is 21000 1/100mm what is 21cm of DIN A4. * @return the Width of the page in 1/100mm */ - int m_nPageWidth = -1; - protected int getPageWidth() { if (m_nPageWidth < 0) @@ -1198,8 +1201,8 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter /** * Helper function, to copy all not read only properties of _xFromSection to _xToSection - * @param _xFromSection - * @param _xToSection + * @param _aFrom + * @param _aTo */ private void copyProperties(Object _aFrom, Object _aTo) { diff --git a/wizards/com/sun/star/wizards/table/CallTableWizard.java b/wizards/com/sun/star/wizards/table/CallTableWizard.java index 43e4fec1f617..5e3d5a975a46 100644 --- a/wizards/com/sun/star/wizards/table/CallTableWizard.java +++ b/wizards/com/sun/star/wizards/table/CallTableWizard.java @@ -33,15 +33,12 @@ public class CallTableWizard /** Gives a factory for creating the service. * This method is called by the JavaLoader *

- * @return Returns a XSingleServiceFactory for creating the - * component. - * @see com.sun.star.comp.loader.JavaLoader# + * @return Returns a XSingleServiceFactory 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. + * @param xMSF 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. */ public static com.sun.star.lang.XSingleServiceFactory __getServiceFactory(String stringImplementationName, com.sun.star.lang.XMultiServiceFactory xMSF, com.sun.star.registry.XRegistryKey xregistrykey) { @@ -103,7 +100,7 @@ public class CallTableWizard * 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) throws com.sun.star.uno.Exception diff --git a/wizards/com/sun/star/wizards/text/TextDocument.java b/wizards/com/sun/star/wizards/text/TextDocument.java index 4bf853bd8bf5..0fe10c4213be 100644 --- a/wizards/com/sun/star/wizards/text/TextDocument.java +++ b/wizards/com/sun/star/wizards/text/TextDocument.java @@ -380,7 +380,6 @@ public class TextDocument * and adds a explanatory sentence to the template description. * @param WizardName The name of the Wizard. * @param TemplateDescription The old Description which is being appended with another sentence. - * @return void. */ public void setWizardTemplateDocInfo(String WizardName, String TemplateDescription) { diff --git a/wizards/com/sun/star/wizards/ui/ButtonList.java b/wizards/com/sun/star/wizards/ui/ButtonList.java index 67b1c63d11d0..ac2bec3a6eee 100644 --- a/wizards/com/sun/star/wizards/ui/ButtonList.java +++ b/wizards/com/sun/star/wizards/ui/ButtonList.java @@ -435,8 +435,6 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener } /** Notifies all registered listeners about the event. - * - * @param event The event to be fired * */ @SuppressWarnings("unchecked") diff --git a/wizards/com/sun/star/wizards/ui/ControlScroller.java b/wizards/com/sun/star/wizards/ui/ControlScroller.java index 06de7c4c18ab..b1a83bba9c4c 100644 --- a/wizards/com/sun/star/wizards/ui/ControlScroller.java +++ b/wizards/com/sun/star/wizards/ui/ControlScroller.java @@ -72,10 +72,10 @@ public abstract class ControlScroller /** * * @param _CurUnoDialog - * @param iStep - * @param iCompPosX - * @param iCompPosY - * @param iCompWidth + * @param _iStep + * @param _iCompPosX + * @param _iCompPosY + * @param _iCompWidth * @param _nblockincrement * @param _firsthelpindex * @author bc93774 @@ -128,7 +128,7 @@ public abstract class ControlScroller /** * @author bc93774 - * @param _ntotfieldcount: The number of fields that are to be administered by the ControlScroller + * @param _ntotfieldcount The number of fields that are to be administered by the ControlScroller */ protected void initialize(int _ntotfieldcount) { @@ -464,8 +464,8 @@ public abstract class ControlScroller * The controls should be put on Step 99 (means made invisible at first). All the controlrows that are needed are than * made visible automatically when calling "initialize(_fieldcount)" * @author bc93774 - * @param i: The index of the control group - * @param npos: Can be an x coordinate or an y coordinate which depends on the orientation of the scrollbar + * @param _index The index of the control group + * @param npos Can be an x coordinate or an y coordinate which depends on the orientation of the scrollbar */ protected abstract void insertControlGroup(int _index, int npos); diff --git a/wizards/com/sun/star/wizards/ui/ImageList.java b/wizards/com/sun/star/wizards/ui/ImageList.java index 59769592acbb..40e485109591 100644 --- a/wizards/com/sun/star/wizards/ui/ImageList.java +++ b/wizards/com/sun/star/wizards/ui/ImageList.java @@ -585,8 +585,6 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener } /** Notifies all registered listeners about the event. - * - * @param event The event to be fired * */ @SuppressWarnings("unchecked") diff --git a/wizards/com/sun/star/wizards/ui/UnoDialog.java b/wizards/com/sun/star/wizards/ui/UnoDialog.java index c451392dbf36..177cdd5a5afc 100644 --- a/wizards/com/sun/star/wizards/ui/UnoDialog.java +++ b/wizards/com/sun/star/wizards/ui/UnoDialog.java @@ -542,7 +542,7 @@ public class UnoDialog implements EventNames * The problem with setting the visibility of controls is that changing the current step * of a dialog will automatically make all controls visible. The PropertyNames.PROPERTY_STEP property always wins against * the property "visible". Therfor a control meant to be invisible is placed on a step far far away. - * @param the name of the control + * @param controlname the name of the control * @param iStep change the step if you want to make the control invisible */ private void setControlVisible(String controlname, int iStep) @@ -800,7 +800,7 @@ public class UnoDialog implements EventNames * peer as a parent. * @param parentPeer * @return - * @throws java.lang.Exception + * @throws com.sun.star.uno.Exception */ public XWindowPeer createWindowPeer(XWindowPeer parentPeer) throws com.sun.star.uno.Exception { @@ -823,7 +823,7 @@ public class UnoDialog implements EventNames * dialog, using the active OO frame * as the parent window. * @return - * @throws java.lang.Exception + * @throws com.sun.star.uno.Exception */ public XWindowPeer createWindowPeer() throws com.sun.star.uno.Exception { diff --git a/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java b/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java index c3a48b8a0c2e..fa27a661c9cb 100644 --- a/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java +++ b/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java @@ -43,7 +43,6 @@ public class DataAwareFields * @param fieldname * @param value * @return - * @throws NoSuchFieldException */ public static DataAware.Value getFieldValueFor(Object owner, String fieldname, Object value) { diff --git a/wizards/com/sun/star/wizards/ui/event/TaskEvent.java b/wizards/com/sun/star/wizards/ui/event/TaskEvent.java index f4714b9e0367..3c8d3e6d47e1 100644 --- a/wizards/com/sun/star/wizards/ui/event/TaskEvent.java +++ b/wizards/com/sun/star/wizards/ui/event/TaskEvent.java @@ -39,9 +39,6 @@ public class TaskEvent extends EventObject * general constructor- * @param source * @param type_ - * @param max_ - * @param success_ - * @param failed_ */ public TaskEvent(Task source, int type_) { diff --git a/wizards/com/sun/star/wizards/web/BackgroundsDialog.java b/wizards/com/sun/star/wizards/web/BackgroundsDialog.java index 124736a1cd61..d61ff7eb3a20 100644 --- a/wizards/com/sun/star/wizards/web/BackgroundsDialog.java +++ b/wizards/com/sun/star/wizards/web/BackgroundsDialog.java @@ -83,7 +83,7 @@ public class BackgroundsDialog extends ImageListDialog * opens a "file open" dialog, adds the selected * image to the list and to the web wizard configuration, * and then jumps to the new image, selecting it in the list. - * @see add(String) + * @see #add(String) */ public void other() { diff --git a/wizards/com/sun/star/wizards/web/CallWizard.java b/wizards/com/sun/star/wizards/web/CallWizard.java index e6d59ff0977a..6f146288c335 100644 --- a/wizards/com/sun/star/wizards/web/CallWizard.java +++ b/wizards/com/sun/star/wizards/web/CallWizard.java @@ -52,7 +52,7 @@ public class CallWizard * * @return Returns a XSingleServiceFactory for creating the component. * - * @see com.sun.star.comp.loader.JavaLoader# + * @see com.sun.star.comp.loader.JavaLoader */ public static XSingleServiceFactory __getServiceFactory(String stringImplementationName, XMultiServiceFactory xMSF, XRegistryKey xregistrykey) { diff --git a/wizards/com/sun/star/wizards/web/FTPDialog.java b/wizards/com/sun/star/wizards/web/FTPDialog.java index 3bd54189ea6e..4914a634bf09 100644 --- a/wizards/com/sun/star/wizards/web/FTPDialog.java +++ b/wizards/com/sun/star/wizards/web/FTPDialog.java @@ -689,7 +689,7 @@ public class FTPDialog extends UnoDialog2 implements UIConsts, WWHID * changes the text of the status label and * (TODO) the status image. * @param label - * @param color + * @param image */ private void setLabel(String label, String image) { diff --git a/wizards/com/sun/star/wizards/web/ImageListDialog.java b/wizards/com/sun/star/wizards/web/ImageListDialog.java index bc8abdf4431f..53210d01306f 100644 --- a/wizards/com/sun/star/wizards/web/ImageListDialog.java +++ b/wizards/com/sun/star/wizards/web/ImageListDialog.java @@ -255,7 +255,7 @@ public abstract class ImageListDialog extends UnoDialog2 implements UIConsts String template; /** - * @param aTempalte a template for this renderer. + * @param aTemplate a template for this renderer. * The strings %START, %END ,%TOTAL will be replaced * with the actual values. */ diff --git a/wizards/com/sun/star/wizards/web/StatusDialog.java b/wizards/com/sun/star/wizards/web/StatusDialog.java index aae55f337562..0b47b5208620 100644 --- a/wizards/com/sun/star/wizards/web/StatusDialog.java +++ b/wizards/com/sun/star/wizards/web/StatusDialog.java @@ -228,8 +228,8 @@ public class StatusDialog extends UnoDialog2 implements TaskListener /** * displays the status dialog - * @param parent the parent dialog - * @param r what to do + * @param parent_ the parent dialog + * @param task what to do */ public void execute(final UnoDialog parent_, final Task task, String title) { diff --git a/wizards/com/sun/star/wizards/web/StylePreview.java b/wizards/com/sun/star/wizards/web/StylePreview.java index adbfdc9bbd62..6d1aa62a74fd 100644 --- a/wizards/com/sun/star/wizards/web/StylePreview.java +++ b/wizards/com/sun/star/wizards/web/StylePreview.java @@ -60,8 +60,8 @@ public class StylePreview /** * copies the html file to the temp directory, and calculates the * destination names of the background and css files. - * @param wwRoot is the root directory of the web wizard files ( - * usually [oo]/share/template/[lang]/wizard/web + * @param wwRoot_ is the root directory of the web wizard files ( + * usually [oo]/share/template/[lang]/wizard/web */ public StylePreview(XMultiServiceFactory xmsf, String wwRoot_) throws Exception { diff --git a/wizards/com/sun/star/wizards/web/data/CGDocument.java b/wizards/com/sun/star/wizards/web/data/CGDocument.java index 29609d03102a..c141bf76fb68 100644 --- a/wizards/com/sun/star/wizards/web/data/CGDocument.java +++ b/wizards/com/sun/star/wizards/web/data/CGDocument.java @@ -405,7 +405,7 @@ public class CGDocument extends ConfigSetItem implements XMLProvider } /** - * @see getExporter() + * @see #getExporter() */ public void setExporter(short[] exporter_) { @@ -414,7 +414,7 @@ public class CGDocument extends ConfigSetItem implements XMLProvider } /** - * @see getExporter() + * @see #getExporter() * @return */ private short getExporterIndex() diff --git a/wizards/com/sun/star/wizards/web/data/CGPublish.java b/wizards/com/sun/star/wizards/web/data/CGPublish.java index e12c99cb94e6..4febdb8d9343 100644 --- a/wizards/com/sun/star/wizards/web/data/CGPublish.java +++ b/wizards/com/sun/star/wizards/web/data/CGPublish.java @@ -50,7 +50,7 @@ public class CGPublish extends ConfigGroup /** * here I get an URL from user input, and parse it to * a UCB url... - * @param url + * @param path */ public void setURL(String path) { diff --git a/wizards/com/sun/star/wizards/web/data/CGSettings.java b/wizards/com/sun/star/wizards/web/data/CGSettings.java index c3dfd6815b29..efe9244c1565 100644 --- a/wizards/com/sun/star/wizards/web/data/CGSettings.java +++ b/wizards/com/sun/star/wizards/web/data/CGSettings.java @@ -125,7 +125,6 @@ public class CGSettings extends ConfigGroup /** * call after read. * @param xmsf - * @param document the background document. used for date/number formatting. */ public void configure(XMultiServiceFactory xmsf) throws Exception { diff --git a/wizards/com/sun/star/wizards/web/export/Exporter.java b/wizards/com/sun/star/wizards/web/export/Exporter.java index a81c3d791117..b18df0d37beb 100644 --- a/wizards/com/sun/star/wizards/web/export/Exporter.java +++ b/wizards/com/sun/star/wizards/web/export/Exporter.java @@ -38,11 +38,10 @@ public interface Exporter * of a binary format. * always use source.urlFilename as destination filename. * @param source is a CGDocument object. - * @param target contains the URL of a directory to which the - * file should be exported to. + * @param targetDirectory contains the URL of a directory to which the file should be exported to. * @param xmsf this is a basic multiServiceFactory. * @param task - a task monitoring object. This should advance - * (call task.advacne(true) ) 3 times, while exporting. + * (call task.advance(true) ) 3 times, while exporting. * */ public boolean export(CGDocument source, String targetDirectory, XMultiServiceFactory xmsf, Task task) throws IOException; diff --git a/wizards/com/sun/star/wizards/web/status/TaskEvent.java b/wizards/com/sun/star/wizards/web/status/TaskEvent.java index 198e18f07e30..c98ba81ec269 100644 --- a/wizards/com/sun/star/wizards/web/status/TaskEvent.java +++ b/wizards/com/sun/star/wizards/web/status/TaskEvent.java @@ -39,9 +39,6 @@ public class TaskEvent extends EventObject * general constructor- * @param source * @param type_ - * @param max_ - * @param success_ - * @param failed_ */ public TaskEvent(Task source, int type_) { -- cgit