diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-04 22:21:36 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-04 22:22:04 +0100 |
commit | 65610d54b43290d722b318d5ff819e6b5af1bc3a (patch) | |
tree | 75074f093b727abb0c5694fbde0c41fcf900c43e /wizards | |
parent | 67942a8b68f8061f4bbeda023be9a586e636128f (diff) |
remove trailing whitespaces
Change-Id: Ib6684fe00e063e150af30477fd704d9b3f029282
Diffstat (limited to 'wizards')
52 files changed, 144 insertions, 144 deletions
diff --git a/wizards/com/sun/star/wizards/common/ConfigGroup.java b/wizards/com/sun/star/wizards/common/ConfigGroup.java index 46d069c5f2b1..a5ff80cc399a 100644 --- a/wizards/com/sun/star/wizards/common/ConfigGroup.java +++ b/wizards/com/sun/star/wizards/common/ConfigGroup.java @@ -66,7 +66,7 @@ public class ConfigGroup implements ConfigNode /** * convert the primitive type value of the - * given Field object to the corresponding + * given Field object to the corresponding * Java Object value. * @param field * @return the value of the field as a Object. diff --git a/wizards/com/sun/star/wizards/common/ConfigNode.java b/wizards/com/sun/star/wizards/common/ConfigNode.java index 593cb9d27d78..8e0521d8a3cb 100644 --- a/wizards/com/sun/star/wizards/common/ConfigNode.java +++ b/wizards/com/sun/star/wizards/common/ConfigNode.java @@ -18,8 +18,8 @@ package com.sun.star.wizards.common; /** - * This Interface specifies a method of an object which is - * capable of reading adn writing its data out of the + * This Interface specifies a method of an object which is + * capable of reading adn writing its data out of the * OO Configuration. <br/> * There are 2 direct implementations: ConfigGroup and ConfigSet. * The root is the first Java Object in the configuration hirarchie. @@ -29,7 +29,7 @@ public interface ConfigNode /** * reads the object data out of the configuration. - * @param configurationView is a ::com::sun::star::configuration::HierarchyElement + * @param configurationView is a ::com::sun::star::configuration::HierarchyElement * which represents the node corresponding to the Object. * @param param a free parameter. Since the intension of this interface is * to be used in a tree like way, reading objects and subobjects and so on, diff --git a/wizards/com/sun/star/wizards/common/ConfigSet.java b/wizards/com/sun/star/wizards/common/ConfigSet.java index 0d8a76773b8a..2e979841005a 100644 --- a/wizards/com/sun/star/wizards/common/ConfigSet.java +++ b/wizards/com/sun/star/wizards/common/ConfigSet.java @@ -379,7 +379,7 @@ public class ConfigSet implements ConfigNode, XMLProvider, ListModel /** * Set members might include a property * which orders them. - * This method reindexes the given member to be + * This method reindexes the given member to be * the index number 0 * Do not forget to call commit() after calling this method. * @param confView diff --git a/wizards/com/sun/star/wizards/common/Configuration.java b/wizards/com/sun/star/wizards/common/Configuration.java index fdf882b762d7..bba2a79ffd83 100644 --- a/wizards/com/sun/star/wizards/common/Configuration.java +++ b/wizards/com/sun/star/wizards/common/Configuration.java @@ -36,7 +36,7 @@ import com.sun.star.util.XChangesBatch; * name of the property, parent is a HierarchyElement (::com::sun::star::configuration::HierarchyElement)<br/> * The get and set methods support hieryrchical property names like "options/gridX". <br/> * NOTE: not yet supported, but sometime later, - * If you will ommit the "parent" parameter, then the "name" parameter must be in hierarchy form from + * If you will ommit the "parent" parameter, then the "name" parameter must be in hierarchy form from * the root of the registry. */ public abstract class Configuration diff --git a/wizards/com/sun/star/wizards/common/Desktop.java b/wizards/com/sun/star/wizards/common/Desktop.java index f089350c2878..8b2c39a80a83 100644 --- a/wizards/com/sun/star/wizards/common/Desktop.java +++ b/wizards/com/sun/star/wizards/common/Desktop.java @@ -245,7 +245,7 @@ public class Desktop /** * Checks if the passed Element Name already exists in the ElementContainer. If yes it appends a - * suffix to make it unique + * suffix to make it unique * @param xElementContainer * @param sElementName * @return a unique Name ready to be added to the container. @@ -258,7 +258,7 @@ public class Desktop /** * Checks if the passed Element Name already exists in the ElementContainer. If yes it appends a - * suffix to make it unique + * suffix to make it unique * @param xElementContainer * @param sElementName * @return a unique Name ready to be added to the container. @@ -274,7 +274,7 @@ public class Desktop * suffix to make it unique * @param _slist * @param _sElementName - * @param _sSuffixSeparator + * @param _sSuffixSeparator * @return a unique Name not being in the passed list. */ public static String getUniqueName(String[] _slist, String _sElementName, String _sSuffixSeparator) @@ -440,10 +440,10 @@ public class Desktop * 1. Check if the given desktop argument has a componentWindow. * If it is null, the myFrame argument is taken. * 2. Go up the tree of frames and search a frame with a component window. - * 3. Get from the desktop all the components, and give the first one + * 3. Get from the desktop all the components, and give the first one * which has a frame. * @param xMSF - * @param myFrame + * @param myFrame * @param desktop * @return * @throws NoSuchElementException diff --git a/wizards/com/sun/star/wizards/common/FileAccess.java b/wizards/com/sun/star/wizards/common/FileAccess.java index dfb5d68b7bc4..573e9fa9d889 100644 --- a/wizards/com/sun/star/wizards/common/FileAccess.java +++ b/wizards/com/sun/star/wizards/common/FileAccess.java @@ -41,10 +41,10 @@ import com.sun.star.document.XDocumentProperties; /** * This class delivers static convenience methods * to use with ucb SimpleFileAccess service. - * You can also instanciate the class, to encapsulate + * You can also instanciate the class, to encapsulate * some functionality of SimpleFileAccess. The instance * keeps a reference to an XSimpleFileAccess and an - * XFileIdentifierConverter, saves the permanent + * XFileIdentifierConverter, saves the permanent * overhead of quering for those interfaces, and delivers * conveneince methods for using them. * These Convenince methods include mainly Exception-handling. @@ -892,7 +892,7 @@ public class FileAccess } /** - * @param path + * @param path * @param pathSeparator * @return */ @@ -947,7 +947,7 @@ public class FileAccess } /** - * @param url + * @param url * @return the parent dir of the given url. * if the path points to file, gives the directory in which the file is. */ diff --git a/wizards/com/sun/star/wizards/common/HelpIds.java b/wizards/com/sun/star/wizards/common/HelpIds.java index 4b1ed94ff42b..c106b2e33610 100644 --- a/wizards/com/sun/star/wizards/common/HelpIds.java +++ b/wizards/com/sun/star/wizards/common/HelpIds.java @@ -1023,7 +1023,7 @@ public class HelpIds "HID:WIZARDS_HID_DLGTABLE_OPT_WORKWITHTABLE", // HID:41242 "HID:WIZARDS_HID_DLGTABLE_OPT_STARTFORMWIZARD", // HID:41243 "HID:WIZARDS_HID_DLGTABLE_LST_CATALOG", // HID:41244 - "HID:WIZARDS_HID_DLGTABLE_LST_SCHEMA" // HID:41245 + "HID:WIZARDS_HID_DLGTABLE_LST_SCHEMA" // HID:41245 }; public static String getHelpIdString( int nHelpId ) diff --git a/wizards/com/sun/star/wizards/common/IRenderer.java b/wizards/com/sun/star/wizards/common/IRenderer.java index bf620261f404..c4513ea75ab1 100644 --- a/wizards/com/sun/star/wizards/common/IRenderer.java +++ b/wizards/com/sun/star/wizards/common/IRenderer.java @@ -21,7 +21,7 @@ package com.sun.star.wizards.common; * A General interface which gives a string * that represents the rendered argument object. * Can be used to reference resources, internationalizartion - * a.s.o + * a.s.o */ public interface IRenderer { diff --git a/wizards/com/sun/star/wizards/common/JavaTools.java b/wizards/com/sun/star/wizards/common/JavaTools.java index f13120666850..4d003b0c2470 100644 --- a/wizards/com/sun/star/wizards/common/JavaTools.java +++ b/wizards/com/sun/star/wizards/common/JavaTools.java @@ -470,7 +470,7 @@ public class JavaTools if (FieldInList(_complist, baselist[i]) > -1) { retvector.add(baselist[i]); - // here you could call the method of a defined interface to notify the calling method + // here you could call the method of a defined interface to notify the calling method } } retarray = new String[retvector.size()]; @@ -493,7 +493,7 @@ public class JavaTools if (FieldInList(_complist, sValue) != -1) { retvector.add(baselist[i]); - // here you could call the method of a defined interface to notify the calling method + // here you could call the method of a defined interface to notify the calling method } } retarray = new String[retvector.size()][2]; @@ -541,7 +541,7 @@ public class JavaTools /** * searches a multidimensional array for duplicate fields. According to the following example * SlaveFieldName1 ;SlaveFieldName2; SlaveFieldName3 - * MasterFieldName1;MasterFieldName2;MasterFieldName3 + * MasterFieldName1;MasterFieldName2;MasterFieldName3 * The entries SlaveFieldNameX and MasterFieldNameX are grouped together and then the created groups are compared * If a group is duplicate the entry of the second group is returned. * @param _scomplist diff --git a/wizards/com/sun/star/wizards/common/NumberFormatter.java b/wizards/com/sun/star/wizards/common/NumberFormatter.java index b5920de3c885..61bfccd8bf43 100644 --- a/wizards/com/sun/star/wizards/common/NumberFormatter.java +++ b/wizards/com/sun/star/wizards/common/NumberFormatter.java @@ -140,7 +140,7 @@ public class NumberFormatter public int defineNumberFormat(String _FormatString) { - try + try { int NewFormatKey = xNumberFormats.queryKey(_FormatString, aLocale, true); if (NewFormatKey == -1) @@ -160,7 +160,7 @@ public class NumberFormatter /** * returns a numberformat for a FormatString. * @param _FormatString - * @param _aLocale + * @param _aLocale * @return */ public int defineNumberFormat(String _FormatString, Locale _aLocale) diff --git a/wizards/com/sun/star/wizards/common/NumericalHelper.java b/wizards/com/sun/star/wizards/common/NumericalHelper.java index e25a706056b0..366fde2e4ac4 100644 --- a/wizards/com/sun/star/wizards/common/NumericalHelper.java +++ b/wizards/com/sun/star/wizards/common/NumericalHelper.java @@ -25,9 +25,9 @@ import com.sun.star.uno.TypeClass; * Optional or named parameters in SO are of the Object type in Java. * These objects must be converted to the right simple value type. * Unfortunately, StarBasic does not know the original desired type, - * and a value that should be a "Float" is delivered as "Byte". This class + * and a value that should be a "Float" is delivered as "Byte". This class * handles the conversions of these types.<br> - * This class does not log warnings (or throws Exceptions) when the precision + * This class does not log warnings (or throws Exceptions) when the precision * of a value is lost. */ public class NumericalHelper @@ -82,7 +82,7 @@ public class NumericalHelper /** * get a byte value from the object - * @param aValue + * @param aValue * @return a byte * @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted */ @@ -139,7 +139,7 @@ public class NumericalHelper /** * get a char value from the object - * @param aValue + * @param aValue * @return a char * @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted */ @@ -204,7 +204,7 @@ public class NumericalHelper /** * get a short value from the object - * @param aValue + * @param aValue * @return a short * @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted */ @@ -339,7 +339,7 @@ public class NumericalHelper /** @param aValue a object this can contain anything * @return true, if the value is type of any integer values. double / float are not(!) integer values - * @throws com.sun.star.lang.IllegalArgumentException + * @throws com.sun.star.lang.IllegalArgumentException */ public static boolean isInteger(Object aValue) throws com.sun.star.lang.IllegalArgumentException { @@ -397,7 +397,7 @@ public class NumericalHelper /** * get an int value from the object - * @param aValue + * @param aValue * @return an int * @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted */ @@ -453,7 +453,7 @@ public class NumericalHelper /** * get a long value from the object - * @param aValue + * @param aValue * @return a long * @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted */ @@ -509,7 +509,7 @@ public class NumericalHelper /** * get a float value from the object - * @param aValue + * @param aValue * @return a float * @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted */ @@ -565,7 +565,7 @@ public class NumericalHelper /** * get a double value from the object - * @param aValue + * @param aValue * @return a double * @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted */ @@ -621,7 +621,7 @@ public class NumericalHelper /** * get a String value from the object - * @param aValue + * @param aValue * @return a String * @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted */ @@ -671,7 +671,7 @@ public class NumericalHelper /** * get a boolean value from the object - * @param aValue + * @param aValue * @return a boolean * @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted */ @@ -729,7 +729,7 @@ public class NumericalHelper * get an int array from an object * @param anArrayValue a value that is constructed into an array * @return an integer array - * @throws com.sun.star.lang.IllegalArgumentException + * @throws com.sun.star.lang.IllegalArgumentException */ public static int[] toIntArray(Object anArrayValue) throws com.sun.star.lang.IllegalArgumentException @@ -763,7 +763,7 @@ public class NumericalHelper * get an byte array from an object * @param anArrayValue a value that is constructed into an array * @return a byte array - * @throws com.sun.star.lang.IllegalArgumentException + * @throws com.sun.star.lang.IllegalArgumentException */ public static byte[] toByteArray(Object anArrayValue) throws com.sun.star.lang.IllegalArgumentException @@ -797,7 +797,7 @@ public class NumericalHelper * get a short array from an object * @param anArrayValue a value that is constructed into an array * @return a short array - * @throws com.sun.star.lang.IllegalArgumentException + * @throws com.sun.star.lang.IllegalArgumentException */ public static short[] toShortArray(Object anArrayValue) throws com.sun.star.lang.IllegalArgumentException @@ -831,7 +831,7 @@ public class NumericalHelper * get a string array from an object * @param anArrayValue a value that is constructed into an array * @return a short array - * @throws com.sun.star.lang.IllegalArgumentException + * @throws com.sun.star.lang.IllegalArgumentException */ public static String[] toStringArray(Object anArrayValue) throws com.sun.star.lang.IllegalArgumentException @@ -866,7 +866,7 @@ public class NumericalHelper * @param _aValue a value that is constructed into an int * @param _ndefaultValue the value that is returned, if conversion fails, or if 'aValue' is null * @return an int value - * @throws java.lang.Exception + * @throws java.lang.Exception */ public static int toInt(Object _aValue, int _ndefaultValue) throws Exception { @@ -1183,7 +1183,7 @@ public class NumericalHelper /** * get the simple int type * @param typeObject - * @return + * @return * @throws com.sun.star.lang.IllegalArgumentException */ static int getInt(TypeObject typeObject) @@ -1199,7 +1199,7 @@ public class NumericalHelper /** * get the simple float type - * @throws com.sun.star.lang.IllegalArgumentException + * @throws com.sun.star.lang.IllegalArgumentException */ static float getFloat(TypeObject typeObject) throws com.sun.star.lang.IllegalArgumentException diff --git a/wizards/com/sun/star/wizards/common/PropertySetHelper.java b/wizards/com/sun/star/wizards/common/PropertySetHelper.java index 787b8eeef6d0..7f59d3bd6d41 100644 --- a/wizards/com/sun/star/wizards/common/PropertySetHelper.java +++ b/wizards/com/sun/star/wizards/common/PropertySetHelper.java @@ -72,7 +72,7 @@ public class PropertySetHelper set a property, @param _sName name of the property to set @param _aValue property value as object - * @throws java.lang.Exception + * @throws java.lang.Exception */ public void setPropertyValue(String _sName, Object _aValue) throws java.lang.Exception { diff --git a/wizards/com/sun/star/wizards/common/SystemDialog.java b/wizards/com/sun/star/wizards/common/SystemDialog.java index bb4bdbf3bdec..58b9e529f4ff 100644 --- a/wizards/com/sun/star/wizards/common/SystemDialog.java +++ b/wizards/com/sun/star/wizards/common/SystemDialog.java @@ -320,8 +320,8 @@ public class SystemDialog /** * @param windowServiceName one of the following strings: * "ErrorBox", "WarningBox", "MessBox", "InfoBox", "QueryBox". - * There are other values possible, look - * under src/toolkit/source/awt/vcltoolkit.cxx + * There are other values possible, look + * under src/toolkit/source/awt/vcltoolkit.cxx * @param windowAttribute see com.sun.star.awt.VclWindowPeerAttribute * @return 0 = cancel, 1 = ok, 2 = yes, 3 = no(I'm not sure here) * other values check for yourself ;-) diff --git a/wizards/com/sun/star/wizards/common/UCB.java b/wizards/com/sun/star/wizards/common/UCB.java index f17b8698408e..cef1af3afbb5 100644 --- a/wizards/com/sun/star/wizards/common/UCB.java +++ b/wizards/com/sun/star/wizards/common/UCB.java @@ -137,7 +137,7 @@ public class UCB public Object executeCommand(Object xContent, String aCommandName, Object aArgument) throws com.sun.star.ucb.CommandAbortedException, - com.sun.star.uno.Exception + com.sun.star.uno.Exception { XCommandProcessor xCmdProcessor = UnoRuntime.queryInterface( XCommandProcessor.class, xContent); @@ -187,7 +187,7 @@ public class UCB { //ignore } - else + else { files.add(aTitle); } @@ -210,7 +210,7 @@ public class UCB } public Object getContentProperty(Object content, String propName, Class<?> type) - throws Exception + throws Exception { Property[] pv = new Property[1]; pv[0] = new Property(); diff --git a/wizards/com/sun/star/wizards/db/DBMetaData.java b/wizards/com/sun/star/wizards/db/DBMetaData.java index 2bda1a15d6a8..93b42e01dd8d 100644 --- a/wizards/com/sun/star/wizards/db/DBMetaData.java +++ b/wizards/com/sun/star/wizards/db/DBMetaData.java @@ -913,7 +913,7 @@ public class DBMetaData * adds the passed document as a report or a form to the database. Afterwards the document is deleted. * the document may not be open * @param _xComponent - * @param _xDocNameAccess + * @param _xDocNameAccess * @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/TypeInspector.java b/wizards/com/sun/star/wizards/db/TypeInspector.java index 7abf13f00b2f..4c4ea18594b5 100644 --- a/wizards/com/sun/star/wizards/db/TypeInspector.java +++ b/wizards/com/sun/star/wizards/db/TypeInspector.java @@ -412,7 +412,7 @@ public class TypeInspector *4) DOUBLE *5) NUMERIC *6) DECIMAL * - * If no appropriate datatype is found ther first available numeric type after DataType.INTEGER + * If no appropriate datatype is found ther first available numeric type after DataType.INTEGER * according to the 'convertDataType' method is returned */ /**TODO the fallback order is the same as implemented in the method 'convertDataType'. diff --git a/wizards/com/sun/star/wizards/document/Control.java b/wizards/com/sun/star/wizards/document/Control.java index 33462fb6d3fb..cf5c9c0faf24 100644 --- a/wizards/com/sun/star/wizards/document/Control.java +++ b/wizards/com/sun/star/wizards/document/Control.java @@ -263,7 +263,7 @@ public class Control extends Shape } } - /** the peer should be retrieved every time before it is used because it + /** the peer should be retrieved every time before it is used because it * might be disposed otherwise * * @return diff --git a/wizards/com/sun/star/wizards/form/FormControlArranger.java b/wizards/com/sun/star/wizards/form/FormControlArranger.java index dc3c761e37f6..23c6701ac6ed 100644 --- a/wizards/com/sun/star/wizards/form/FormControlArranger.java +++ b/wizards/com/sun/star/wizards/form/FormControlArranger.java @@ -91,7 +91,7 @@ public class FormControlArranger setFormSize(_FormSize); } // Note: on all Controls except for the checkbox the Label has to be set - // a bit under the DBControl because its Height is also smaller + // a bit under the DBControl because its Height is also smaller private int getLabelDiffHeight(int _index) { diff --git a/wizards/com/sun/star/wizards/query/QuerySummary.java b/wizards/com/sun/star/wizards/query/QuerySummary.java index 5a4150352b6f..e44e53685b00 100644 --- a/wizards/com/sun/star/wizards/query/QuerySummary.java +++ b/wizards/com/sun/star/wizards/query/QuerySummary.java @@ -73,7 +73,7 @@ public class QuerySummary extends QueryMetaData sGroupByFraction = combinePartString(RID_QUERY + 57, GroupFieldNames, RID_QUERY + 58) + sReturnChar; sHavingFraction = combineFilterNameFraction(getGroupByFilterConditions(), RID_QUERY + 59, RID_QUERY + 60); } - // TODO: remove the last return from the string + // TODO: remove the last return from the string sSummary = sFieldNamesFraction + sSortingFraction + sFilterFraction + sAggregateFraction + sGroupByFraction + sHavingFraction; sSummary = JavaTools.replaceSubString(sSummary, PropertyNames.EMPTY_STRING, "~"); } diff --git a/wizards/com/sun/star/wizards/report/Dataimport.java b/wizards/com/sun/star/wizards/report/Dataimport.java index 186ce145240e..573ea2a04c1a 100644 --- a/wizards/com/sun/star/wizards/report/Dataimport.java +++ b/wizards/com/sun/star/wizards/report/Dataimport.java @@ -77,7 +77,7 @@ public class Dataimport extends UnoDialog2 implements com.sun.star.awt.XActionLi // { // String ConnectStr = "uno:socket,host=localhost,port=8100;urp,negotiate=0,forcesynchronous=1;StarOffice.NamingService"; // XMultiServiceFactory xMSF = null; -// try +// try // { // xMSF = com.sun.star.wizards.common.Desktop.connect(ConnectStr); // if (xMSF != null) diff --git a/wizards/com/sun/star/wizards/report/IReportDocument.java b/wizards/com/sun/star/wizards/report/IReportDocument.java index 18e7cfe68310..18d1d8286984 100644 --- a/wizards/com/sun/star/wizards/report/IReportDocument.java +++ b/wizards/com/sun/star/wizards/report/IReportDocument.java @@ -68,7 +68,7 @@ public interface IReportDocument // ------------------------------------------------------------------------- /** * Is called after first step, set Tablename and the fields, which should occur in the Report. - * @param _aType + * @param _aType * @param TableName * @param FieldNames */ diff --git a/wizards/com/sun/star/wizards/report/ReportImplementationHelper.java b/wizards/com/sun/star/wizards/report/ReportImplementationHelper.java index 316007469942..70c735be9e4b 100644 --- a/wizards/com/sun/star/wizards/report/ReportImplementationHelper.java +++ b/wizards/com/sun/star/wizards/report/ReportImplementationHelper.java @@ -29,7 +29,7 @@ public class ReportImplementationHelper /** * @param _aMSF - * @param _nOrientation + * @param _nOrientation */ public ReportImplementationHelper(XMultiServiceFactory _aMSF, int _nOrientation) { diff --git a/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java b/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java index 3a8e55e637e6..55615afb4189 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java +++ b/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java @@ -314,7 +314,7 @@ public class ReportBuilderImplementation extends ReportImplementationHelper /** * Change the current Layouter by a new one with the given Name _sName. - * If there exist no other layouter with the given name, nothing happens, the layouter will not change to + * If there exist no other layouter with the given name, nothing happens, the layouter will not change to * an illegal one. * @param _sName Name of the other layouter. */ @@ -636,7 +636,7 @@ public class ReportBuilderImplementation extends ReportImplementationHelper String[] a = new String[getLayoutMap().size()]; String[] b = new String[getLayoutMap().size()]; - // run through the whole layoutmap and + // run through the whole layoutmap and final Set<String> aKeys = getLayoutMap().keySet(); final Iterator<String> aKeyIterator = aKeys.iterator(); int i = 0; diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java index a7c6b8f44168..6cbd91debfed 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java +++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java @@ -88,7 +88,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter /** * The Constructor is protected, this is a abstract class, use Tabular or other to create an instance. * @param _xDefinitionAccess - * @param _aResource + * @param _aResource */ protected ReportBuilderLayouter(IReportDefinitionReadAccess _xDefinitionAccess, Resource _aResource) { @@ -182,7 +182,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter /** * Remove all fields - * @param _xSectionToClear + * @param _xSectionToClear */ private void emptySection(XSection _xSectionToClear) { @@ -717,7 +717,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter * @param _sFormattedfield as String a dbfield or an other function * @param _aRect .X, .Y are the absolute position (1/100mm) where the formatted field will set * @param _nWidth the width of the field in 1/100mm - * @param _aSO + * @param _aSO * @return a new Rectangle with the new Rect.X position, Rect.Y will not change. */ protected Rectangle insertFormattedField(XSection _xSection, String _sFormattedfield, Rectangle _aRect, int _nWidth, SectionObject _aSO) diff --git a/wizards/com/sun/star/wizards/table/CGCategory.java b/wizards/com/sun/star/wizards/table/CGCategory.java index e9d6d87f2f46..13e4b843aab8 100644 --- a/wizards/com/sun/star/wizards/table/CGCategory.java +++ b/wizards/com/sun/star/wizards/table/CGCategory.java @@ -48,7 +48,7 @@ public class CGCategory { try { - oconfigView = Configuration.getConfigurationRoot(xMSF, CGROOTPATH, false); //business/Tables + oconfigView = Configuration.getConfigurationRoot(xMSF, CGROOTPATH, false); //business/Tables xNameAccessCurBusinessNode = Configuration.getChildNodebyName( UnoRuntime.queryInterface(XNameAccess.class, oconfigView), category); diff --git a/wizards/com/sun/star/wizards/text/TextFieldHandler.java b/wizards/com/sun/star/wizards/text/TextFieldHandler.java index db25b3f147b8..4daf2ed62ba6 100644 --- a/wizards/com/sun/star/wizards/text/TextFieldHandler.java +++ b/wizards/com/sun/star/wizards/text/TextFieldHandler.java @@ -51,7 +51,7 @@ public class TextFieldHandler /** * Creates a new instance of TextFieldHandler * @param xMSF - * @param xTextDocument + * @param xTextDocument */ public TextFieldHandler(XMultiServiceFactory xMSF, XTextDocument xTextDocument) { diff --git a/wizards/com/sun/star/wizards/ui/AggregateComponent.java b/wizards/com/sun/star/wizards/ui/AggregateComponent.java index 15c759c1499e..691d74faa32b 100644 --- a/wizards/com/sun/star/wizards/ui/AggregateComponent.java +++ b/wizards/com/sun/star/wizards/ui/AggregateComponent.java @@ -353,7 +353,7 @@ public class AggregateComponent extends ControlScroller ControlRow oControlRow = ControlRowVector.get(i); // if (i == _index) // oControlRow.settovoid(); -// else +// else oControlRow.setVisible(false); } } diff --git a/wizards/com/sun/star/wizards/ui/ButtonList.java b/wizards/com/sun/star/wizards/ui/ButtonList.java index 504a22f1ed17..5dc2f4d24114 100644 --- a/wizards/com/sun/star/wizards/ui/ButtonList.java +++ b/wizards/com/sun/star/wizards/ui/ButtonList.java @@ -657,7 +657,7 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener /** * @param listItem - * @return two resource ids for an image referenced in the imaglist resourcefile of the + * @return two resource ids for an image referenced in the imaglist resourcefile of the * wizards project; The second one of them is designed to be used for High Contrast Mode. */ public Object[] getImageUrls(Object listItem); diff --git a/wizards/com/sun/star/wizards/ui/ControlScroller.java b/wizards/com/sun/star/wizards/ui/ControlScroller.java index 509a46508ebf..dfb920ebc09d 100644 --- a/wizards/com/sun/star/wizards/ui/ControlScroller.java +++ b/wizards/com/sun/star/wizards/ui/ControlScroller.java @@ -353,7 +353,7 @@ public abstract class ControlScroller * the control in guiRow and column * @param guiRow 0 based row index * @param column 0 based column index - * @return the propertyValue object corresponding to + * @return the propertyValue object corresponding to * this control. */ protected PropertyValue fieldInfo(int guiRow, int column) @@ -457,7 +457,7 @@ public abstract class ControlScroller protected abstract void initializeScrollFields(); - /** inserts a group of controls into the component. The group may either be a row or a column of controls + /** inserts a group of controls into the component. The group may either be a row or a column of controls * 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)" * @param _index The index of the control group diff --git a/wizards/com/sun/star/wizards/ui/FilterComponent.java b/wizards/com/sun/star/wizards/ui/FilterComponent.java index 4e706f3623c3..32cdceb4e7f7 100644 --- a/wizards/com/sun/star/wizards/ui/FilterComponent.java +++ b/wizards/com/sun/star/wizards/ui/FilterComponent.java @@ -385,7 +385,7 @@ public class FilterComponent * @param iWidth * @param FilterCount * @param _oQueryMetaData - * @param _firstHelpID + * @param _firstHelpID */ public FilterComponent(WizardDialog CurUnoDialog, XMultiServiceFactory _xMSF, int iStep, int iPosX, int iPosY, int iWidth, int FilterCount, QueryMetaData _oQueryMetaData, int _firstHelpID) { diff --git a/wizards/com/sun/star/wizards/ui/ImageList.java b/wizards/com/sun/star/wizards/ui/ImageList.java index 66696603db00..65ce47a602c8 100644 --- a/wizards/com/sun/star/wizards/ui/ImageList.java +++ b/wizards/com/sun/star/wizards/ui/ImageList.java @@ -812,7 +812,7 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener /** * @param listItem - * @return two resource ids for an image referenced in the imaglist resourcefile of the + * @return two resource ids for an image referenced in the imaglist resourcefile of the * wizards project; The second one of them is designed to be used for High Contrast Mode. */ public Object[] getImageUrls(Object listItem); diff --git a/wizards/com/sun/star/wizards/ui/PeerConfig.java b/wizards/com/sun/star/wizards/ui/PeerConfig.java index b7505d340f56..39df7c808e8c 100644 --- a/wizards/com/sun/star/wizards/ui/PeerConfig.java +++ b/wizards/com/sun/star/wizards/ui/PeerConfig.java @@ -150,7 +150,7 @@ public class PeerConfig implements XWindowListener /** * @param oAPIControl an API control that the interface XControl can be derived from - * @param _saccessname + * @param _saccessname */ public void setAccessibleName(Object oAPIControl, String _saccessname) { @@ -177,8 +177,8 @@ public class PeerConfig implements XWindowListener /** * @param oAPIControl an API control that the interface XControl can be derived from - * @param _propnames - * @param _propvalues + * @param _propnames + * @param _propvalues */ public void setPeerProperties(Object oAPIControl, String[] _propnames, Object[] _propvalues) { @@ -208,7 +208,7 @@ public class PeerConfig implements XWindowListener /** * Assigns an image to the property 'ImageUrl' of a dialog control. The image id must be assigned in a resource file * within the wizards project - * wizards project + * wizards project * @param _ocontrolmodel * @param _nResId * @param _nhcResId @@ -220,7 +220,7 @@ public class PeerConfig implements XWindowListener } /** - * Assigns an image to the property 'ImageUrl' of a dialog control. The image ids that the Resource urls point to + * Assigns an image to the property 'ImageUrl' of a dialog control. The image ids that the Resource urls point to * may be assigned in a Resource file outside the wizards project * @param _ocontrolmodel * @param _sResourceUrl @@ -235,10 +235,10 @@ public class PeerConfig implements XWindowListener /** * Assigns an image to the property 'ImageUrl' of a dialog control. The image id must be assigned in a resource file * within the wizards project - * wizards project + * wizards project * @param _ocontrolmodel * @param _oResource - * @param _oHCResource + * @param _oHCResource */ public void setImageUrl(Object _ocontrolmodel, Object _oResource, Object _oHCResource) { diff --git a/wizards/com/sun/star/wizards/ui/SortingComponent.java b/wizards/com/sun/star/wizards/ui/SortingComponent.java index 32ec6c56bf85..f61747bae107 100644 --- a/wizards/com/sun/star/wizards/ui/SortingComponent.java +++ b/wizards/com/sun/star/wizards/ui/SortingComponent.java @@ -195,7 +195,7 @@ public class SortingComponent /** * sets the controls of a Sorting criterion to readonly or not. * @param _index index of the Sorting criterion - * @param _breadonly + * @param _breadonly */ public void setReadOnly(int _index, boolean _breadonly) { diff --git a/wizards/com/sun/star/wizards/ui/event/DataAware.java b/wizards/com/sun/star/wizards/ui/event/DataAware.java index 05a6d921eae0..64c1fc5a2b37 100644 --- a/wizards/com/sun/star/wizards/ui/event/DataAware.java +++ b/wizards/com/sun/star/wizards/ui/event/DataAware.java @@ -35,7 +35,7 @@ import com.sun.star.wizards.common.PropertyNames; * in child classes, the updateData() will be binded to UI event calls. * <br><br> * This class holds references to a Data Object and a Value object. - * The Value object "knows" how to get and set a value from the + * The Value object "knows" how to get and set a value from the * Data Object. */ public abstract class DataAware { @@ -99,7 +99,7 @@ public abstract class DataAware { /** * gets the current value from the data obejct. - * this method delegates the job to + * this method delegates the job to * the value object. * @return the current value of the data object. */ @@ -211,7 +211,7 @@ public abstract class DataAware { /** * Value objects read and write a value from and - * to an object. Typically using reflection and JavaBeans properties + * to an object. Typically using reflection and JavaBeans properties * or directly using memeber reflection API. * DataAware delegates the handling of the DataObject * to a Value object. diff --git a/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java b/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java index fa27a661c9cb..cb4baf2ea72d 100644 --- a/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java +++ b/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java @@ -22,12 +22,12 @@ import com.sun.star.wizards.common.PropertyNames; import com.sun.star.uno.Any; /** - * This class is a factory for Value objects for different types of + * This class is a factory for Value objects for different types of * memebers. - * Other than some Value implementations classes this class contains static + * Other than some Value implementations classes this class contains static * type conversion methods and factory methods. * - * @see com.sun.star.wizards.ui.event.DataAware.Value + * @see com.sun.star.wizards.ui.event.DataAware.Value */ public class DataAwareFields { diff --git a/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java b/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java index 67277c8dbce3..7e12b6aeb61b 100644 --- a/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java +++ b/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java @@ -22,7 +22,7 @@ import java.lang.reflect.Method; /** * Encapsulate a Method invocation. - * In the constructor one defines a method, a target object and an optional + * In the constructor one defines a method, a target object and an optional * Parameter. * Then one calls "invoke", with or without a parameter. <br/> * Limitations: I do not check anything myself. If the param is not ok, from the diff --git a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java index 7c1d0e3843f8..7f8161297434 100644 --- a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java +++ b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java @@ -26,7 +26,7 @@ import com.sun.star.wizards.common.PropertyNames; /** * This class suppoprts imple cases where a UI control can * be directly synchronized with a data property. - * Such controls are: the different text controls + * Such controls are: the different text controls * (synchronizing the "Text" , "Value", "Date", "Time" property), * Checkbox controls, Dropdown listbox controls (synchronizing the * SelectedItems[] property. diff --git a/wizards/com/sun/star/wizards/web/AbstractErrorHandler.java b/wizards/com/sun/star/wizards/web/AbstractErrorHandler.java index d38a455560d6..cd388ed3beaf 100644 --- a/wizards/com/sun/star/wizards/web/AbstractErrorHandler.java +++ b/wizards/com/sun/star/wizards/web/AbstractErrorHandler.java @@ -26,7 +26,7 @@ import com.sun.star.wizards.common.SystemDialog; * An abstract implementation of ErrorHandler, which * uses a renderer method geMessageFor(Exception, Object, int, int) * (in this class still abstract...) - * to render the errors, and displays + * to render the errors, and displays * error messeges. */ public abstract class AbstractErrorHandler implements ErrorHandler @@ -91,7 +91,7 @@ public abstract class AbstractErrorHandler implements ErrorHandler /** * display a message * @deprecated - * @param xmsf + * @param xmsf * @param message the message to display * @param errorType an int constant from the ErrorHandler interface. * @return @@ -218,7 +218,7 @@ public abstract class AbstractErrorHandler implements ErrorHandler * @param ex the exception * @param arg a free argument * @param ix a free argument - * @param type the error type (from the int constants + * @param type the error type (from the int constants * in ErrorHandler interface) * @return a Strings which will be displayed in the message box, * and which describes the error, and the needed action from the user. diff --git a/wizards/com/sun/star/wizards/web/BackgroundsDialog.java b/wizards/com/sun/star/wizards/web/BackgroundsDialog.java index 792be8eae53e..0fc9b57df775 100644 --- a/wizards/com/sun/star/wizards/web/BackgroundsDialog.java +++ b/wizards/com/sun/star/wizards/web/BackgroundsDialog.java @@ -74,7 +74,7 @@ public class BackgroundsDialog extends ImageListDialog /** * trigered when the user clicks the "other" button. - * opens a "file open" dialog, adds the selected + * 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) @@ -129,7 +129,7 @@ public class BackgroundsDialog extends ImageListDialog /** * an ImageList Imagerenderer implemtation. * The image URL is the object given from the list model. - * the image name, got from the "render" method is + * the image name, got from the "render" method is * the filename portion of the url. * */ @@ -162,7 +162,7 @@ public class BackgroundsDialog extends ImageListDialog } /** - * This is a list model for the image list of the + * This is a list model for the image list of the * backgrounds dialog. * It takes the Backgrounds config set as an argument, * and "parses" it to a list of files: @@ -256,7 +256,7 @@ public class BackgroundsDialog extends ImageListDialog /** * adds the given image url to the list. - * if and only if it ends with jpg, jpeg or gif + * if and only if it ends with jpg, jpeg or gif * (case insensitive) * @param filename image url. */ diff --git a/wizards/com/sun/star/wizards/web/ErrorHandler.java b/wizards/com/sun/star/wizards/web/ErrorHandler.java index 21da7f1b2826..8bd2beaa04b5 100644 --- a/wizards/com/sun/star/wizards/web/ErrorHandler.java +++ b/wizards/com/sun/star/wizards/web/ErrorHandler.java @@ -37,7 +37,7 @@ public interface ErrorHandler public static int DEF_YES = VclWindowPeerAttribute.DEF_YES; public static int DEF_NO = VclWindowPeerAttribute.DEF_NO; /** - * Error type for fatal errors which should abort application + * Error type for fatal errors which should abort application * execution. Should actually never be used :-) */ public static final int ERROR_FATAL = 0; @@ -86,7 +86,7 @@ public interface ErrorHandler */ public static final int ERROR_WARNING = 8; /** - * An error type which just tells the user something + * An error type which just tells the user something * ( like "you look tired! you should take a bath! and so on) */ public static final int ERROR_MESSAGE = 9; diff --git a/wizards/com/sun/star/wizards/web/FTPDialog.java b/wizards/com/sun/star/wizards/web/FTPDialog.java index 4914a634bf09..13faea96ad74 100644 --- a/wizards/com/sun/star/wizards/web/FTPDialog.java +++ b/wizards/com/sun/star/wizards/web/FTPDialog.java @@ -68,7 +68,7 @@ public class FTPDialog extends UnoDialog2 implements UIConsts, WWHID /** * A Constant used for the setLabel(int) method to change the - * status-display. "unknown" is the status when the user first + * status-display. "unknown" is the status when the user first * opens the dialog, or changes the servername/username/password. */ private final static int STATUS_UNKONWN = 0; @@ -171,7 +171,7 @@ public class FTPDialog extends UnoDialog2 implements UIConsts, WWHID * @param xmsf * @param p the publishert object that contains the data * for this dialog - * @throws Exception + * @throws Exception */ public FTPDialog(XMultiServiceFactory xmsf, CGPublish p) throws Exception { @@ -401,7 +401,7 @@ public class FTPDialog extends UnoDialog2 implements UIConsts, WWHID } /** - * extract the hostname out of the url used by the + * extract the hostname out of the url used by the * publisher. This url does not include the username:password string. * @param ftpUrl * @return @@ -609,7 +609,7 @@ public class FTPDialog extends UnoDialog2 implements UIConsts, WWHID /** * changes the status label to disconnected status, and * disables the ok and choose-dir buttons. - * This method is called also when the hostname, username + * This method is called also when the hostname, username * and passwordtext fields change. */ public void disconnect() @@ -686,7 +686,7 @@ public class FTPDialog extends UnoDialog2 implements UIConsts, WWHID } /** - * changes the text of the status label and + * changes the text of the status label and * (TODO) the status image. * @param label * @param image @@ -703,7 +703,7 @@ public class FTPDialog extends UnoDialog2 implements UIConsts, WWHID } /** - * called when the user clicks + * called when the user clicks * the choose-dir button. ("...") * Opens the pickFolder dialog. * checks if the returned folder is an ftp folder. diff --git a/wizards/com/sun/star/wizards/web/FTPDialogResources.java b/wizards/com/sun/star/wizards/web/FTPDialogResources.java index 90c612b1e274..e0b61e3168be 100644 --- a/wizards/com/sun/star/wizards/web/FTPDialogResources.java +++ b/wizards/com/sun/star/wizards/web/FTPDialogResources.java @@ -56,7 +56,7 @@ public class FTPDialogResources extends Resource super(xmsf, UNIT_NAME, MODULE_NAME); /** - * Delete the String, uncomment the getResText method + * Delete the String, uncomment the getResText method * */ resFTPDialog_title = getResText(RID_FTPDIALOG_START + 0); diff --git a/wizards/com/sun/star/wizards/web/ImageListDialog.java b/wizards/com/sun/star/wizards/web/ImageListDialog.java index 90283b948319..5423d204cc45 100644 --- a/wizards/com/sun/star/wizards/web/ImageListDialog.java +++ b/wizards/com/sun/star/wizards/web/ImageListDialog.java @@ -38,7 +38,7 @@ import com.sun.star.wizards.ui.ImageList.Counter; * The model and the renderer are * still abstract in this class. * To use the class one should extend it, - * in the constructor then set the imageList + * in the constructor then set the imageList * properties (member name il) like image size, grid size, * model renderer aso, and then call "build". * This class uses a counter renderer which @@ -51,7 +51,7 @@ import com.sun.star.wizards.ui.ImageList.Counter; * so dialogs which do not need those, should set the corresponding * members showDeselectButton and/or showOtherButton to false. * <br/> - * the consturctor should recieve, among others, an Array of String resources - see + * the consturctor should recieve, among others, an Array of String resources - see * constructor documentation for details. */ public abstract class ImageListDialog extends UnoDialog2 implements UIConsts @@ -89,7 +89,7 @@ public abstract class ImageListDialog extends UnoDialog2 implements UIConsts * @param resources_ a string array with the following strings : * dialog title, label text, ok, cancel, help, deselect, other. * <br/> if "deselect" and "other" are not displayed, - * the array can also be shorter. but if "other" is displayed + * the array can also be shorter. but if "other" is displayed * and "deselect" not, both must be there :-( */ public ImageListDialog( @@ -106,7 +106,7 @@ public abstract class ImageListDialog extends UnoDialog2 implements UIConsts * adds the controls to the dialog, depending on * the size of the image list. * This method should be called by subclasses after setting - * the il ImageList member properties + * the il ImageList member properties */ protected void build() { diff --git a/wizards/com/sun/star/wizards/web/Process.java b/wizards/com/sun/star/wizards/web/Process.java index c04ba4dcfec5..42160c13f742 100644 --- a/wizards/com/sun/star/wizards/web/Process.java +++ b/wizards/com/sun/star/wizards/web/Process.java @@ -96,7 +96,7 @@ public class Process implements WebWizardConst, ProcessErrors private UCB ucb; public Task myTask; /** - * This is a cache for exporters, so I do not need to + * This is a cache for exporters, so I do not need to * instanciate the same exporter more than once. */ private Map<CGExporter, Exporter> exporters = new HashMap<CGExporter, Exporter>(3); @@ -257,7 +257,7 @@ public class Process implements WebWizardConst, ProcessErrors } /** - * This method is used to copy style files to a target + * This method is used to copy style files to a target * Directory: css and background. * Note that this method is static since it is * also used when displaying a "preview" @@ -391,7 +391,7 @@ public class Process implements WebWizardConst, ProcessErrors try { /* - * here I create the DOM of the TOC to pass to the XSL + * here I create the DOM of the TOC to pass to the XSL */ Document doc = (Document) settings.cp_DefaultSession.createDOM(); generate(xmsf, layout, doc, fileAccess, targetDir, task); @@ -403,7 +403,7 @@ public class Process implements WebWizardConst, ProcessErrors return false; } - /* copy files which are not xsl from layout directory to + /* copy files which are not xsl from layout directory to * website root. */ try @@ -590,7 +590,7 @@ public class Process implements WebWizardConst, ProcessErrors } catch (SecurityException sx) { - // nonfatal + // nonfatal if (!error(sx, item, ERROR_EXPORT_SECURITY, ErrorHandler.ERROR_NORMAL_IGNORE)) { return false; @@ -638,7 +638,7 @@ public class Process implements WebWizardConst, ProcessErrors error(ex, doc, ERROR_DOC_VALIDATE, ErrorHandler.ERROR_PROCESS_FATAL); return false; } - //get the exporter specified for this document + //get the exporter specified for this document } CGExporter exporter = (CGExporter) settings.cp_Exporters.getElement(doc.cp_Exporter); @@ -655,7 +655,7 @@ public class Process implements WebWizardConst, ProcessErrors String docFilename = FileAccess.getFilename(doc.cp_URL); String docExt = FileAccess.getExtension(docFilename); - String fn = doc.localFilename.substring(0, doc.localFilename.length() - docExt.length() - 1); //filename without extension + String fn = doc.localFilename.substring(0, doc.localFilename.length() - docExt.length() - 1); //filename without extension /* * the copyExporter does not change @@ -675,7 +675,7 @@ public class Process implements WebWizardConst, ProcessErrors } /* - * if two files with the same name + * if two files with the same name * need to be exported ? So here * i get a new filename, so I do not * overwrite files... @@ -698,9 +698,9 @@ public class Process implements WebWizardConst, ProcessErrors task.advance(true); } /* - * getExporter(..) throws + * getExporter(..) throws * IllegalAccessException, InstantiationException, ClassNotFoundException - * export() throws Exception + * export() throws Exception */ catch (Exception ex) { @@ -726,7 +726,7 @@ public class Process implements WebWizardConst, ProcessErrors /** * submit an error. - * @param ex the exception + * @param ex the exception * @param arg1 error argument * @param arg2 error argument 2 * @param errType error type @@ -753,7 +753,7 @@ public class Process implements WebWizardConst, ProcessErrors } /** - * creates an instance of the exporter class + * creates an instance of the exporter class * as specified by the * exporter object. * @param export specifies the exporter to be created @@ -775,7 +775,7 @@ public class Process implements WebWizardConst, ProcessErrors /** * searches the an exporter for the given CGExporter object * in the cache. - * If its not there, creates it, stores it in the cache and + * If its not there, creates it, stores it in the cache and * returns it. * @param export specifies the needed exporter. * @return an Exporter instance diff --git a/wizards/com/sun/star/wizards/web/StylePreview.java b/wizards/com/sun/star/wizards/web/StylePreview.java index e0b1d4e65a1f..edd3d0323760 100644 --- a/wizards/com/sun/star/wizards/web/StylePreview.java +++ b/wizards/com/sun/star/wizards/web/StylePreview.java @@ -23,10 +23,10 @@ import com.sun.star.wizards.common.PropertyNames; import com.sun.star.wizards.web.data.CGStyle; /** - * the style preview, which is a OOo Document Preview in + * the style preview, which is a OOo Document Preview in * an Image Control. * This class copies the files needed for this - * preview from the web wizard work directory + * preview from the web wizard work directory * to a given temporary directory, and updates them * on request, according to the current style/background selection * of the user. @@ -104,7 +104,7 @@ public class StylePreview //copy the background image to the temp directory. fileAccess.copy(background, backgroundFilename); } - //copy the actual css to the temp directory + //copy the actual css to the temp directory fileAccess.copy(css, cssFilename); } diff --git a/wizards/com/sun/star/wizards/web/TOCPreview.java b/wizards/com/sun/star/wizards/web/TOCPreview.java index c7eca17259f2..dc7cf6a3a1a2 100644 --- a/wizards/com/sun/star/wizards/web/TOCPreview.java +++ b/wizards/com/sun/star/wizards/web/TOCPreview.java @@ -40,7 +40,7 @@ import com.sun.star.wizards.web.data.CGSettings; * <br/> * Since the files are both static and dynamic (some are always the same, * while other change according to user choices) - * I divide this tasks to two: all necessary + * I divide this tasks to two: all necessary * static files, which should not regularily update are copied upon * instanciation. * The TOC is generated in refresh(...); @@ -60,9 +60,9 @@ public class TOCPreview /** * @param xmsf_ - * @param settings web wizard settings - * @param res resources - * @param tempDir_ destination + * @param settings web wizard settings + * @param res resources + * @param tempDir_ destination * @throws Exception */ public TOCPreview(XMultiServiceFactory xmsf_, CGSettings settings, WebWizardDialogResources res, String tempDir_, XFrame _xFrame) diff --git a/wizards/com/sun/star/wizards/web/WWD_Events.java b/wizards/com/sun/star/wizards/web/WWD_Events.java index d18ec107555b..f574e672d4cf 100644 --- a/wizards/com/sun/star/wizards/web/WWD_Events.java +++ b/wizards/com/sun/star/wizards/web/WWD_Events.java @@ -228,7 +228,7 @@ public abstract class WWD_Events extends WWD_Startup { (short) 0 }; - // We try to select the same item index again, if possible + // We try to select the same item index again, if possible if (settings.cp_SavedSessions.getSize() > selected[0]) { nextSelected[0] = selected[0]; @@ -272,7 +272,7 @@ public abstract class WWD_Events extends WWD_Startup * when the user clicks another document * in the listbox, this method is called, * and couses the display in - * the textboxes title,description, author and export format + * the textboxes title,description, author and export format * to change */ public void setSelectedDoc(short[] s) @@ -283,7 +283,7 @@ public abstract class WWD_Events extends WWD_Startup if (doc == null) { fillExportList(EMPTY_STRING_ARRAY); - //I try to avoid refreshing the export list if + //I try to avoid refreshing the export list if //the same type of document is chosen. } else if (oldDoc == null || (!oldDoc.appType.equals(doc.appType))) @@ -329,7 +329,7 @@ public abstract class WWD_Events extends WWD_Startup task.removeTaskListener(sd); } /* - * When adding a single document, do not use a + * When adding a single document, do not use a * status dialog... */ else @@ -506,7 +506,7 @@ public abstract class WWD_Events extends WWD_Startup } /** - * updates the ui of a certain publisher + * updates the ui of a certain publisher * (the text box url) * @param number */ @@ -641,7 +641,7 @@ public abstract class WWD_Events extends WWD_Startup } } else - {//not a directory, but still exists + {//not a directory, but still exists String message = JavaTools.replaceSubString(resources.resLocalTargetExistsAsfile, path, "%FILENAME"); AbstractErrorHandler.showMessage(xMSF, xControl.getPeer(), message, ErrorHandler.ERROR_PROCESS_FATAL); @@ -883,7 +883,7 @@ public abstract class WWD_Events extends WWD_Startup } /** - * this method will be called when the Status Dialog + * this method will be called when the Status Dialog * is hidden. * It checks if the "Process" was successfull, and if so, * it closes the wizard dialog. @@ -931,7 +931,7 @@ public abstract class WWD_Events extends WWD_Startup * @param exitOnCreate_ should the wizard close after * a successfull create. * Default is true, - * I have a hidden feature which enables false here + * I have a hidden feature which enables false here */ public void finishWizard(boolean exitOnCreate_) { diff --git a/wizards/com/sun/star/wizards/web/WWD_General.java b/wizards/com/sun/star/wizards/web/WWD_General.java index e1064fd7051a..8e532eee9dd1 100644 --- a/wizards/com/sun/star/wizards/web/WWD_General.java +++ b/wizards/com/sun/star/wizards/web/WWD_General.java @@ -78,7 +78,7 @@ public abstract class WWD_General extends WebWizardDialog } /* - * File Dialog methods + * File Dialog methods */ protected SystemDialog getDocAddDialog() { @@ -145,7 +145,7 @@ public abstract class WWD_General extends WebWizardDialog } /** - * returns the document specified + * returns the document specified * by the given short array. * @param s * @return @@ -185,8 +185,8 @@ public abstract class WWD_General extends WebWizardDialog } /** - * returns a publisher object for the given name - * @param name one of the WebWizardConst constants : FTP + * returns a publisher object for the given name + * @param name one of the WebWizardConst constants : FTP * @return */ protected CGPublish getPublisher(String name) @@ -239,7 +239,7 @@ public abstract class WWD_General extends WebWizardDialog { return; /* - * disbale steps 3-7 + * disbale steps 3-7 */ } for (int i = 3; i < 8; i++) @@ -247,7 +247,7 @@ public abstract class WWD_General extends WebWizardDialog setStepEnabled(i, enabled, true); /* in this place i just disable the finish button. * later, in the checkPublish, which is only performed if - * this one is true, it will be enabled (if the check + * this one is true, it will be enabled (if the check * is positive) */ } @@ -318,7 +318,7 @@ public abstract class WWD_General extends WebWizardDialog /** * @return false either if publishing input is wrong or there - * are no publishing targets chosen. returns true when at least + * are no publishing targets chosen. returns true when at least * one target is chosen, *and* all * which are chosen are legal. * If proxies are on, ftp publisher is ignored. @@ -337,7 +337,7 @@ public abstract class WWD_General extends WebWizardDialog /** * This method checks if the publishing - * input is ok, and enables and disables + * input is ok, and enables and disables * the 'create' button. * public because it is called from * an event listener object. diff --git a/wizards/com/sun/star/wizards/web/WebWizardDialog.java b/wizards/com/sun/star/wizards/web/WebWizardDialog.java index f88ccefd612b..c41b061d7750 100644 --- a/wizards/com/sun/star/wizards/web/WebWizardDialog.java +++ b/wizards/com/sun/star/wizards/web/WebWizardDialog.java @@ -855,7 +855,7 @@ public abstract class WebWizardDialog extends WizardDialog implements WebWizardC } /** - * renders the images and titles of + * renders the images and titles of * the layouts */ private class LayoutRenderer implements ImageList.IImageRenderer diff --git a/wizards/com/sun/star/wizards/web/WebWizardDialogResources.java b/wizards/com/sun/star/wizards/web/WebWizardDialogResources.java index 6b8b416a8387..a9df07e0bdad 100644 --- a/wizards/com/sun/star/wizards/web/WebWizardDialogResources.java +++ b/wizards/com/sun/star/wizards/web/WebWizardDialogResources.java @@ -179,7 +179,7 @@ public class WebWizardDialogResources { oResource = _oResource; /** - * Delete the String, uncomment the getResText method + * Delete the String, uncomment the getResText method * */ resWebWizardDialog_title = oResource.getResText(RID_WEBWIZARDDIALOG_START + 1); diff --git a/wizards/com/sun/star/wizards/web/data/CGDocument.java b/wizards/com/sun/star/wizards/web/data/CGDocument.java index a6acf6608cfd..02231bb01f80 100644 --- a/wizards/com/sun/star/wizards/web/data/CGDocument.java +++ b/wizards/com/sun/star/wizards/web/data/CGDocument.java @@ -169,7 +169,7 @@ public class CGDocument extends ConfigSetItem implements XMLProvider xProps = UnoRuntime.queryInterface(XDocumentPropertiesSupplier.class, component).getDocumentProperties(); } - task.advance(true); //4 + task.advance(true); //4 //now use the object to read some document properties. if (xProps != null) diff --git a/wizards/com/sun/star/wizards/web/export/Exporter.java b/wizards/com/sun/star/wizards/web/export/Exporter.java index 3c4d88c4a289..0533b2eaff68 100644 --- a/wizards/com/sun/star/wizards/web/export/Exporter.java +++ b/wizards/com/sun/star/wizards/web/export/Exporter.java @@ -36,7 +36,7 @@ public interface Exporter * @param source is a CGDocument object. * @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 + * @param task - a task monitoring object. This should advance * (call task.advance(true) ) 3 times, while exporting. * */ |