[Libreoffice-commits] core.git: 10 commits - android/experimental bean/com bridges/source bridges/test chart2/qa codemaker/test comphelper/qa connectivity/com connectivity/qa dbaccess/qa embeddedobj/test extensions/qa filter/qa filter/source forms/qa framework/qa javaunohelper/com javaunohelper/test jurt/com jurt/test nlpsolver/src nlpsolver/ThirdParty odk/examples package/qa qadevOOo/runner qadevOOo/testdocs qadevOOo/tests reportbuilder/java ridljar/com ridljar/test sc/qa scripting/examples scripting/java scripting/workben sfx2/qa sot/qa swext/mediawiki sw/qa testtools/com testtools/source toolkit/qa toolkit/test ucb/qa unotest/source vcl/qa vcl/unx wizards/com xmerge/source xmlsecurity/test_docs

Noel Grandin noel at peralex.com
Tue Aug 19 05:58:05 PDT 2014


 android/experimental/DocumentLoader/src/org/libreoffice/android/examples/DocumentLoader.java       |   10 
 android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java           |   12 
 android/experimental/LibreOffice4Android/src/org/libreoffice/ui/LibreOfficeUIActivity.java         |   10 
 bean/com/sun/star/beans/JavaWindowPeerFake.java                                                    |    2 
 bean/com/sun/star/beans/LocalOfficeWindow.java                                                     |   10 
 bean/com/sun/star/comp/beans/CallWatchThread.java                                                  |    6 
 bean/com/sun/star/comp/beans/LocalOfficeWindow.java                                                |    8 
 bean/com/sun/star/comp/beans/OOoBean.java                                                          |   89 -
 bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java                            |    4 
 bridges/test/java_remote/PolyStructTest.java                                                       |   44 
 bridges/test/java_uno/any/TestAny.java                                                             |   60 -
 chart2/qa/TestCaseOldAPI.java                                                                      |   54 
 codemaker/test/javamaker/Test.java                                                                 |    4 
 comphelper/qa/complex/comphelper/Map.java                                                          |    8 
 connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess.java                                 |   18 
 connectivity/qa/complex/connectivity/dbase/DBaseNumericFunctions.java                              |   16 
 connectivity/qa/connectivity/tools/HsqlTableDescriptor.java                                        |    2 
 connectivity/qa/connectivity/tools/RowSet.java                                                     |    2 
 dbaccess/qa/complex/dbaccess/CopyTableWizard.java                                                  |    2 
 dbaccess/qa/complex/dbaccess/SingleSelectQueryComposer.java                                        |    2 
 embeddedobj/test/Container1/EmbedContApp.java                                                      |   29 
 embeddedobj/test/Container1/NativeView.java                                                        |    2 
 extensions/qa/integration/extensions/MethodHandler.java                                            |    2 
 extensions/qa/integration/extensions/ObjectInspector.java                                          |    2 
 filter/qa/complex/filter/detection/typeDetection/Helper.java                                       |    6 
 filter/source/config/tools/split/FCFGSplit.java                                                    |  180 +--
 filter/source/config/tools/split/Splitter.java                                                     |   34 
 filter/source/config/tools/split/SplitterData.java                                                 |    4 
 forms/qa/integration/forms/CellBinding.java                                                        |   28 
 forms/qa/integration/forms/ControlValidation.java                                                  |    6 
 forms/qa/integration/forms/DocumentViewHelper.java                                                 |    2 
 forms/qa/integration/forms/FormControlTest.java                                                    |   34 
 forms/qa/integration/forms/FormLayer.java                                                          |    4 
 forms/qa/integration/forms/FormPropertyBags.java                                                   |    4 
 forms/qa/integration/forms/ListBox.java                                                            |    4 
 forms/qa/integration/forms/ListSelection.java                                                      |    4 
 forms/qa/integration/forms/MasterDetailForms.java                                                  |   14 
 forms/qa/integration/forms/NumericValidator.java                                                   |    2 
 forms/qa/integration/forms/SingleControlValidation.java                                            |   14 
 forms/qa/integration/forms/TableCellTextBinding.java                                               |    2 
 forms/qa/integration/forms/XMLFormSettings.java                                                    |    2 
 forms/qa/org/openoffice/xforms/Model.java                                                          |    2 
 forms/qa/org/openoffice/xforms/XMLDocument.java                                                    |    2 
 framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java                               |   12 
 framework/qa/complex/accelerators/KeyMapping.java                                                  |  146 +-
 framework/qa/complex/api_internal/CheckAPI.java                                                    |    2 
 framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java                            |    2 
 framework/qa/complex/desktop/DesktopTerminate.java                                                 |    4 
 framework/qa/complex/framework/autosave/AutoSave.java                                              |    2 
 framework/qa/complex/framework/autosave/Protocol.java                                              |   17 
 framework/qa/complex/framework/recovery/RecoveryTest.java                                          |    4 
 framework/qa/complex/framework/recovery/RecoveryTools.java                                         |    2 
 framework/qa/complex/path_substitution/PathSubstitutionTest.java                                   |    4 
 javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java                                         |   38 
 javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java                                    |    6 
 javaunohelper/test/com/sun/star/comp/helper/ComponentContext_Test.java                             |    6 
 javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java                               |  178 +--
 jurt/com/sun/star/lib/connections/pipe/PipeConnection.java                                         |    2 
 jurt/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory.java                                    |    2 
 jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal.java                                             |    8 
 jurt/com/sun/star/lib/uno/protocols/urp/urp.java                                                   |   10 
 jurt/com/sun/star/uno/AnyConverter.java                                                            |   18 
 jurt/test/com/sun/star/lib/uno/environments/java/java_environment_Test.java                        |    2 
 jurt/test/com/sun/star/lib/uno/protocols/urp/Marshaling_Test.java                                  |   40 
 jurt/test/com/sun/star/lib/uno/protocols/urp/Protocol_Test.java                                    |    2 
 jurt/test/com/sun/star/uno/AnyConverter_Test.java                                                  |   30 
 nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalString.java               |   78 -
 nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/RandomGenerator.java            |   11 
 nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/DesignSpace.java                 |   10 
 nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java                                  |   16 
 nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/BaseDialog.java                             |    2 
 nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/controls/BaseControl.java                   |   10 
 nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/controls/Label.java                         |    2 
 nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/controls/LabeledControl.java                |    2 
 odk/examples/DevelopersGuide/BasicAndDialogs/CreatingDialogs/SampleDialog.java                     |   46 
 odk/examples/DevelopersGuide/Charts/CalcHelper.java                                                |    4 
 odk/examples/DevelopersGuide/Charts/ChartHelper.java                                               |    8 
 odk/examples/DevelopersGuide/Charts/ChartInCalc.java                                               |   32 
 odk/examples/DevelopersGuide/Charts/ChartInDraw.java                                               |   30 
 odk/examples/DevelopersGuide/Charts/ChartInWriter.java                                             |    2 
 odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java                                      |   14 
 odk/examples/DevelopersGuide/Charts/ListenAtCalcRangeInDraw.java                                   |    6 
 odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java                             |   30 
 odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java |    2 
 odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java                       |    2 
 odk/examples/DevelopersGuide/Config/ConfigExamples.java                                            |   12 
 odk/examples/DevelopersGuide/Database/CodeSamples.java                                             |    2 
 odk/examples/DevelopersGuide/Database/OpenQuery.java                                               |    2 
 odk/examples/DevelopersGuide/Database/RowSet.java                                                  |    8 
 odk/examples/DevelopersGuide/Database/Sales.java                                                   |   48 
 odk/examples/DevelopersGuide/Database/sdbcx.java                                                   |   24 
 odk/examples/DevelopersGuide/Drawing/ChangeOrderDemo.java                                          |    6 
 odk/examples/DevelopersGuide/Drawing/ControlAndSelectDemo.java                                     |    2 
 odk/examples/DevelopersGuide/Drawing/CustomShowDemo.java                                           |    2 
 odk/examples/DevelopersGuide/Drawing/DrawViewDemo.java                                             |    4 
 odk/examples/DevelopersGuide/Drawing/DrawingDemo.java                                              |    4 
 odk/examples/DevelopersGuide/Drawing/FillAndLineStyleDemo.java                                     |    6 
 odk/examples/DevelopersGuide/Drawing/GluePointDemo.java                                            |   10 
 odk/examples/DevelopersGuide/Drawing/GraphicExportDemo.java                                        |    2 
 odk/examples/DevelopersGuide/Drawing/LayerDemo.java                                                |   10 
 odk/examples/DevelopersGuide/Drawing/ObjectTransformationDemo.java                                 |    2 
 odk/examples/DevelopersGuide/Drawing/Organigram.java                                               |    4 
 odk/examples/DevelopersGuide/Drawing/PresentationDemo.java                                         |   18 
 odk/examples/DevelopersGuide/Drawing/StyleDemo.java                                                |    4 
 odk/examples/DevelopersGuide/Drawing/TextDemo.java                                                 |   20 
 odk/examples/DevelopersGuide/FirstSteps/FirstLoadComponent.java                                    |    2 
 odk/examples/DevelopersGuide/FirstSteps/HelloTextTableShape.java                                   |   28 
 odk/examples/DevelopersGuide/Forms/ControlLock.java                                                |    2 
 odk/examples/DevelopersGuide/Forms/ControlValidation.java                                          |    6 
 odk/examples/DevelopersGuide/Forms/DataAwareness.java                                              |   32 
 odk/examples/DevelopersGuide/Forms/DocumentViewHelper.java                                         |    4 
 odk/examples/DevelopersGuide/Forms/FormLayer.java                                                  |    6 
 odk/examples/DevelopersGuide/Forms/GridFieldValidator.java                                         |    4 
 odk/examples/DevelopersGuide/Forms/HsqlDatabase.java                                               |   18 
 odk/examples/DevelopersGuide/Forms/KeyGenerator.java                                               |    4 
 odk/examples/DevelopersGuide/Forms/NumericValidator.java                                           |    2 
 odk/examples/DevelopersGuide/Forms/RowSet.java                                                     |    2 
 odk/examples/DevelopersGuide/Forms/SalesFilter.java                                                |   22 
 odk/examples/DevelopersGuide/Forms/SingleControlValidation.java                                    |   14 
 odk/examples/DevelopersGuide/Forms/SpreadsheetValueBinding.java                                    |   14 
 odk/examples/DevelopersGuide/Forms/TableCellTextBinding.java                                       |    2 
 odk/examples/DevelopersGuide/GUI/DialogDocument.java                                               |    4 
 odk/examples/DevelopersGuide/GUI/ImageControlSample.java                                           |    6 
 odk/examples/DevelopersGuide/GUI/MessageBox.java                                                   |    2 
 odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java                               |    2 
 odk/examples/DevelopersGuide/GUI/SystemDialog.java                                                 |    4 
 odk/examples/DevelopersGuide/GUI/UnoDialogSample.java                                              |  101 -
 odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java                                             |    8 
 odk/examples/DevelopersGuide/GUI/UnoMenu2.java                                                     |    6 
 odk/examples/DevelopersGuide/OfficeDev/Clipboard/Clipboard.java                                    |    2 
 odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java                                 |   30 
 odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java                       |    3 
 odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java                                |    6 
 odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java                      |   14 
 odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java                          |    2 
 odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java                          |    1 
 odk/examples/DevelopersGuide/OfficeDev/DisableCommands/DisableCommandsTest.java                    |   16 
 odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java       |    2 
 odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java            |    4 
 odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java                          |    6 
 odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java                        |    4 
 odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java                               |    2 
 odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java                       |    4 
 odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java                     |    2 
 odk/examples/DevelopersGuide/OfficeDev/Number_Formats.java                                         |    6 
 odk/examples/DevelopersGuide/OfficeDev/OfficeConnect.java                                          |    3 
 odk/examples/DevelopersGuide/ProfUNO/Lifetime/MyUnoObject.java                                     |    2 
 odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java                               |   24 
 odk/examples/DevelopersGuide/Spreadsheet/GeneralTableSample.java                                   |   12 
 odk/examples/DevelopersGuide/Spreadsheet/SpreadsheetDocHelper.java                                 |    6 
 odk/examples/DevelopersGuide/Spreadsheet/SpreadsheetSample.java                                    |   36 
 odk/examples/DevelopersGuide/Spreadsheet/ViewSample.java                                           |   10 
 odk/examples/DevelopersGuide/Text/TextDocuments.java                                               |   46 
 odk/examples/DevelopersGuide/UCB/Helper.java                                                       |    7 
 odk/examples/DevelopersGuide/UCB/ResourceRemover.java                                              |    2 
 odk/examples/java/ConverterServlet/ConverterServlet.java                                           |    4 
 odk/examples/java/DocumentHandling/DocumentConverter.java                                          |    4 
 odk/examples/java/DocumentHandling/DocumentSaver.java                                              |    4 
 odk/examples/java/Drawing/SDraw.java                                                               |    8 
 odk/examples/java/EmbedDocument/Container1/EmbedContApp.java                                       |    6 
 odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java                              |    4 
 odk/examples/java/Inspector/HideableTreeModel.java                                                 |   36 
 odk/examples/java/Inspector/Introspector.java                                                      |    2 
 odk/examples/java/Inspector/ProtocolHandlerAddon.java                                              |    2 
 odk/examples/java/Inspector/SourceCodeGenerator.java                                               |   91 -
 odk/examples/java/Inspector/UnoNode.java                                                           |    2 
 odk/examples/java/PropertySet/PropTest.java                                                        |    6 
 odk/examples/java/Spreadsheet/ChartTypeChange.java                                                 |    2 
 odk/examples/java/Spreadsheet/EuroAdaption.java                                                    |    4 
 odk/examples/java/Spreadsheet/SCalc.java                                                           |   12 
 odk/examples/java/Storage/Test01.java                                                              |    4 
 odk/examples/java/Storage/Test02.java                                                              |    2 
 odk/examples/java/Storage/Test04.java                                                              |    4 
 odk/examples/java/Storage/Test05.java                                                              |    4 
 odk/examples/java/Storage/Test07.java                                                              |    4 
 odk/examples/java/Storage/Test08.java                                                              |    4 
 odk/examples/java/Storage/Test09.java                                                              |    4 
 odk/examples/java/Storage/TestHelper.java                                                          |    6 
 odk/examples/java/Text/BookmarkInsertion.java                                                      |    2 
 odk/examples/java/Text/GraphicsInserter.java                                                       |    8 
 odk/examples/java/Text/HardFormatting.java                                                         |    2 
 odk/examples/java/Text/SWriter.java                                                                |   18 
 odk/examples/java/Text/StyleCreation.java                                                          |   10 
 odk/examples/java/Text/StyleInitialization.java                                                    |    2 
 odk/examples/java/Text/TextReplace.java                                                            |    8 
 odk/examples/java/Text/WriterSelector.java                                                         |    2 
 odk/examples/java/ToDo/ToDo.java                                                                   |   46 
 package/qa/ofopxmlstorages/TestHelper.java                                                         |   10 
 package/qa/storages/RegressionTest_114358.java                                                     |    4 
 package/qa/storages/RegressionTest_125919.java                                                     |    6 
 package/qa/storages/RegressionTest_i26398.java                                                     |    2 
 package/qa/storages/RegressionTest_i27773.java                                                     |    6 
 package/qa/storages/RegressionTest_i29169.java                                                     |    4 
 package/qa/storages/RegressionTest_i29321.java                                                     |    2 
 package/qa/storages/RegressionTest_i30400.java                                                     |    8 
 package/qa/storages/RegressionTest_i30677.java                                                     |    4 
 package/qa/storages/RegressionTest_i35095.java                                                     |    2 
 package/qa/storages/RegressionTest_i46848.java                                                     |    4 
 package/qa/storages/RegressionTest_i49755.java                                                     |    2 
 package/qa/storages/RegressionTest_i55821.java                                                     |    4 
 package/qa/storages/RegressionTest_i59886.java                                                     |    2 
 package/qa/storages/RegressionTest_i61909.java                                                     |    2 
 package/qa/storages/RegressionTest_i84234.java                                                     |    2 
 package/qa/storages/Test01.java                                                                    |    4 
 package/qa/storages/Test02.java                                                                    |    2 
 package/qa/storages/Test04.java                                                                    |    4 
 package/qa/storages/Test05.java                                                                    |    4 
 package/qa/storages/Test07.java                                                                    |    4 
 package/qa/storages/Test08.java                                                                    |    4 
 package/qa/storages/Test09.java                                                                    |    4 
 package/qa/storages/Test12.java                                                                    |    2 
 package/qa/storages/Test13.java                                                                    |    4 
 package/qa/storages/Test14.java                                                                    |    4 
 package/qa/storages/Test15.java                                                                    |    4 
 package/qa/storages/Test16.java                                                                    |    4 
 package/qa/storages/Test17.java                                                                    |    2 
 package/qa/storages/Test18.java                                                                    |    4 
 package/qa/storages/TestHelper.java                                                                |   10 
 qadevOOo/runner/complexlib/Assurance.java                                                          |   65 -
 qadevOOo/runner/convwatch/BorderRemover.java                                                       |   10 
 qadevOOo/runner/convwatch/GraphicalDifferenceCheck.java                                            |    2 
 qadevOOo/runner/convwatch/IniFile.java                                                             |   33 
 qadevOOo/runner/convwatch/OfficePrint.java                                                         |    2 
 qadevOOo/runner/convwatch/PRNCompare.java                                                          |  109 -
 qadevOOo/runner/convwatch/ReportDesignerTest.java                                                  |    2 
 qadevOOo/runner/convwatch/SimpleFileSemaphore.java                                                 |    2 
 qadevOOo/runner/convwatch/TimeHelper.java                                                          |    2 
 qadevOOo/runner/graphical/MSOfficePostscriptCreator.java                                           |  209 ---
 qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java                                         |  234 ----
 qadevOOo/runner/graphical/TimeHelper.java                                                          |    2 
 qadevOOo/runner/helper/ConfigHelper.java                                                           |   37 
 qadevOOo/runner/helper/ContextMenuInterceptor.java                                                 |    2 
 qadevOOo/runner/helper/InetTools.java                                                              |    2 
 qadevOOo/runner/helper/OfficeProvider.java                                                         |    2 
 qadevOOo/runner/helper/OfficeWatcher.java                                                          |    2 
 qadevOOo/runner/helper/ProcessHandler.java                                                         |   30 
 qadevOOo/runner/helper/StringHelper.java                                                           |   10 
 qadevOOo/runner/helper/URLHelper.java                                                              |   52 
 qadevOOo/runner/helper/UnoProvider.java                                                            |    2 
 qadevOOo/runner/lib/Parameters.java                                                                |    3 
 qadevOOo/runner/lib/TestParameters.java                                                            |   10 
 qadevOOo/runner/org/openoffice/Runner.java                                                         |   14 
 qadevOOo/runner/util/BasicMacroTools.java                                                          |    2 
 qadevOOo/runner/util/DBTools.java                                                                  |  219 ---
 qadevOOo/runner/util/DesktopTools.java                                                             |    4 
 qadevOOo/runner/util/DrawTools.java                                                                |   29 
 qadevOOo/runner/util/FormTools.java                                                                |    6 
 qadevOOo/runner/util/FrameDsc.java                                                                 |    2 
 qadevOOo/runner/util/SOfficeFactory.java                                                           |   21 
 qadevOOo/runner/util/UITools.java                                                                  |  120 --
 qadevOOo/runner/util/ValueChanger.java                                                             |   10 
 qadevOOo/runner/util/WriterTools.java                                                              |    8 
 qadevOOo/runner/util/XMLTools.java                                                                 |   67 -
 qadevOOo/testdocs/backend/org/openoffice/JavaSystemBackend.java                                    |    2 
 qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java                           |    6 
 qadevOOo/tests/java/ifc/accessibility/_XAccessibleEditableText.java                                |    2 
 qadevOOo/tests/java/ifc/accessibility/_XAccessibleValue.java                                       |    8 
 qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java                                            |   14 
 qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java                                          |   12 
 qadevOOo/tests/java/ifc/awt/_UnoControlComboBoxModel.java                                          |   16 
 qadevOOo/tests/java/ifc/awt/_UnoControlContainerModel.java                                         |    6 
 qadevOOo/tests/java/ifc/awt/_UnoControlCurrencyFieldModel.java                                     |   10 
 qadevOOo/tests/java/ifc/awt/_UnoControlDateFieldModel.java                                         |   20 
 qadevOOo/tests/java/ifc/awt/_UnoControlDialogModel.java                                            |    6 
 qadevOOo/tests/java/ifc/awt/_UnoControlEditModel.java                                              |   14 
 qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java                                       |   10 
 qadevOOo/tests/java/ifc/awt/_UnoControlFixedLineModel.java                                         |    4 
 qadevOOo/tests/java/ifc/awt/_UnoControlFixedTextModel.java                                         |   12 
 qadevOOo/tests/java/ifc/awt/_UnoControlFormattedFieldModel.java                                    |   14 
 qadevOOo/tests/java/ifc/awt/_UnoControlGroupBoxModel.java                                          |    8 
 qadevOOo/tests/java/ifc/awt/_UnoControlImageControlModel.java                                      |    6 
 qadevOOo/tests/java/ifc/awt/_UnoControlListBoxModel.java                                           |   14 
 qadevOOo/tests/java/ifc/awt/_UnoControlNumericFieldModel.java                                      |   10 
 qadevOOo/tests/java/ifc/awt/_UnoControlPatternFieldModel.java                                      |   10 
 qadevOOo/tests/java/ifc/awt/_UnoControlProgressBarModel.java                                       |    6 
 qadevOOo/tests/java/ifc/awt/_UnoControlRadioButtonModel.java                                       |   12 
 qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java                                         |   10 
 qadevOOo/tests/java/ifc/awt/_UnoControlSpinButtonModel.java                                        |    6 
 qadevOOo/tests/java/ifc/awt/_UnoControlTimeFieldModel.java                                         |   12 
 qadevOOo/tests/java/ifc/awt/_XTextComponent.java                                                   |    2 
 qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java                                               |    2 
 qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java                                              |    2 
 qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java                                                |    2 
 qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java                                                |    2 
 qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java                                               |    2 
 qadevOOo/tests/java/ifc/chart/_BarDiagram.java                                                     |   10 
 qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java                                           |    4 
 qadevOOo/tests/java/ifc/chart/_ChartAxis.java                                                      |   14 
 qadevOOo/tests/java/ifc/chart/_ChartAxisXSupplier.java                                             |    4 
 qadevOOo/tests/java/ifc/chart/_ChartAxisYSupplier.java                                             |    4 
 qadevOOo/tests/java/ifc/chart/_ChartAxisZSupplier.java                                             |    6 
 qadevOOo/tests/java/ifc/chart/_ChartDataPointProperties.java                                       |    2 
 qadevOOo/tests/java/ifc/chart/_ChartDataRowProperties.java                                         |    2 
 qadevOOo/tests/java/ifc/chart/_ChartTitle.java                                                     |    2 
 qadevOOo/tests/java/ifc/chart/_ChartTwoAxisXSupplier.java                                          |    2 
 qadevOOo/tests/java/ifc/chart/_ChartTwoAxisYSupplier.java                                          |    2 
 qadevOOo/tests/java/ifc/chart/_LineDiagram.java                                                    |   12 
 qadevOOo/tests/java/ifc/configuration/backend/_XLayerHandler.java                                  |   16 
 qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java                                 |   22 
 qadevOOo/tests/java/ifc/connection/_XAcceptor.java                                                 |    2 
 qadevOOo/tests/java/ifc/connection/_XConnector.java                                                |    2 
 qadevOOo/tests/java/ifc/container/_XIndexAccess.java                                               |    2 
 qadevOOo/tests/java/ifc/document/_Settings.java                                                    |    2 
 qadevOOo/tests/java/ifc/drawing/_DimensioningShapeDescriptor.java                                  |    2 
 qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java                                      |    4 
 qadevOOo/tests/java/ifc/drawing/_RotationDescriptor.java                                           |    4 
 qadevOOo/tests/java/ifc/drawing/_Shape.java                                                        |    2 
 qadevOOo/tests/java/ifc/form/component/_DateField.java                                             |    2 
 qadevOOo/tests/java/ifc/form/component/_GridControl.java                                           |    8 
 qadevOOo/tests/java/ifc/form/component/_NavigationToolBar.java                                     |    4 
 qadevOOo/tests/java/ifc/form/component/_TimeField.java                                             |    2 
 qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java                            |    2 
 qadevOOo/tests/java/ifc/frame/_XComponentLoader.java                                               |    2 
 qadevOOo/tests/java/ifc/frame/_XDispatch.java                                                      |    6 
 qadevOOo/tests/java/ifc/frame/_XNotifyingDispatch.java                                             |    2 
 qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java                                                  |    4 
 qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java                                        |    4 
 qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java                                     |    6 
 qadevOOo/tests/java/ifc/i18n/_XTransliteration.java                                                |    8 
 qadevOOo/tests/java/ifc/script/_XTypeConverter.java                                                |    2 
 qadevOOo/tests/java/ifc/sdb/_DataSource.java                                                       |    2 
 qadevOOo/tests/java/ifc/sdbc/_XParameters.java                                                     |    2 
 qadevOOo/tests/java/ifc/sdbc/_XRow.java                                                            |    2 
 qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java                                                      |    2 
 qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java                                            |    4 
 qadevOOo/tests/java/ifc/sheet/_SpreadsheetViewSettings.java                                        |    4 
 qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery.java                                               |    2 
 qadevOOo/tests/java/ifc/sheet/_XDataPilotDescriptor.java                                           |    2 
 qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java                                               |    2 
 qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing.java                                              |    2 
 qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java                                                      |    2 
 qadevOOo/tests/java/ifc/style/_CharacterProperties.java                                            |   18 
 qadevOOo/tests/java/ifc/style/_ParagraphProperties.java                                            |   12 
 qadevOOo/tests/java/ifc/style/_ParagraphPropertiesAsian.java                                       |    6 
 qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java                                     |    6 
 qadevOOo/tests/java/ifc/table/_TableColumn.java                                                    |    2 
 qadevOOo/tests/java/ifc/text/_BaseFrame.java                                                       |    2 
 qadevOOo/tests/java/ifc/text/_CellProperties.java                                                  |    4 
 qadevOOo/tests/java/ifc/text/_CellRange.java                                                       |    4 
 qadevOOo/tests/java/ifc/text/_Footnote.java                                                        |    4 
 qadevOOo/tests/java/ifc/text/_FootnoteSettings.java                                                |    8 
 qadevOOo/tests/java/ifc/text/_NumberingLevel.java                                                  |   42 
 qadevOOo/tests/java/ifc/text/_TextColumns.java                                                     |    2 
 qadevOOo/tests/java/ifc/text/_TextFrame.java                                                       |    6 
 qadevOOo/tests/java/ifc/text/_TextPortion.java                                                     |    4 
 qadevOOo/tests/java/ifc/text/_TextSection.java                                                     |    4 
 qadevOOo/tests/java/ifc/text/_TextTable.java                                                       |    4 
 qadevOOo/tests/java/ifc/text/_XPagePrintable.java                                                  |    2 
 qadevOOo/tests/java/ifc/ucb/_XCommandProcessor.java                                                |    2 
 qadevOOo/tests/java/ifc/ui/_XUIConfigurationManager.java                                           |    4 
 qadevOOo/tests/java/ifc/util/_XSortable.java                                                       |    4 
 qadevOOo/tests/java/ifc/util/_XURLTransformer.java                                                 |   12 
 qadevOOo/tests/java/ifc/view/_XPrintJobBroadcaster.java                                            |    2 
 qadevOOo/tests/java/ifc/view/_XPrintable.java                                                      |    2 
 qadevOOo/tests/java/mod/_acceptor/Acceptor.java                                                    |    2 
 qadevOOo/tests/java/mod/_acceptor/uno/Acceptor.java                                                |    2 
 qadevOOo/tests/java/mod/_brdgfctr/BridgeFactory.java                                               |    2 
 qadevOOo/tests/java/mod/_bridgefac/uno/BridgeFactory.java                                          |    2 
 qadevOOo/tests/java/mod/_connector/uno/Connector.java                                              |    2 
 qadevOOo/tests/java/mod/_connectr/Connector.java                                                   |    2 
 qadevOOo/tests/java/mod/_dbaccess/ODatasourceBrowser.java                                          |    4 
 qadevOOo/tests/java/mod/_dbaccess/OQueryDesign.java                                                |    6 
 qadevOOo/tests/java/mod/_dbaccess/ORowSet.java                                                     |    6 
 qadevOOo/tests/java/mod/_dbaccess/OSingleSelectQueryComposer.java                                  |    2 
 qadevOOo/tests/java/mod/_dbaccess/SbaXGridControl.java                                             |    2 
 qadevOOo/tests/java/mod/_forms/GenericModelTest.java                                               |    2 
 qadevOOo/tests/java/mod/_forms/ODatabaseForm.java                                                  |   20 
 qadevOOo/tests/java/mod/_forms/ODateModel.java                                                     |    2 
 qadevOOo/tests/java/mod/_forms/ONumericControl.java                                                |    2 
 qadevOOo/tests/java/mod/_forms/OTimeModel.java                                                     |    2 
 qadevOOo/tests/java/mod/_fps/FilePicker.java                                                       |    4 
 qadevOOo/tests/java/mod/_fwk/UIConfigurationManager.java                                           |    2 
 qadevOOo/tests/java/mod/_jdbc/JDBCDriver.java                                                      |    2 
 qadevOOo/tests/java/mod/_lnn/Hyphenator.java                                                       |    2 
 qadevOOo/tests/java/mod/_pcr/ObjectInspectorModel.java                                             |    4 
 qadevOOo/tests/java/mod/_remotebridge/uno/various.java                                             |    4 
 qadevOOo/tests/java/mod/_remotebridge/various.java                                                 |    4 
 qadevOOo/tests/java/mod/_sc/ScAccessibleCell.java                                                  |    2 
 qadevOOo/tests/java/mod/_sc/ScAccessibleCsvRuler.java                                              |    2 
 qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewHeaderCell.java                                     |    2 
 qadevOOo/tests/java/mod/_sc/ScCellFieldObj.java                                                    |    2 
 qadevOOo/tests/java/mod/_sc/ScChartObj.java                                                        |    2 
 qadevOOo/tests/java/mod/_sc/ScDDELinkObj.java                                                      |    2 
 qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupItemObj.java                                      |    2 
 qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupObj.java                                          |    2 
 qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupsObj.java                                         |    2 
 qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.java                                               |    2 
 qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java                                                |    2 
 qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java                                               |    2 
 qadevOOo/tests/java/mod/_sc/ScDataPilotTableObj.java                                               |    2 
 qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotItemsEnumeration.java                      |    2 
 qadevOOo/tests/java/mod/_sc/ScStyleFamilyObj.java                                                  |    2 
 qadevOOo/tests/java/mod/_sc/ScTabViewObj.java                                                      |    2 
 qadevOOo/tests/java/mod/_sc/ScTableColumnObj.java                                                  |    2 
 qadevOOo/tests/java/mod/_sc/ScTableSheetObj.java                                                   |    4 
 qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java                                    |    4 
 qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java                                            |    2 
 qadevOOo/tests/java/mod/_sch/AccFloor.java                                                         |    2 
 qadevOOo/tests/java/mod/_sch/AccStatisticsObject.java                                              |    2 
 qadevOOo/tests/java/mod/_sch/AccWall.java                                                          |    2 
 qadevOOo/tests/java/mod/_sch/ChXDiagram.java                                                       |    4 
 qadevOOo/tests/java/mod/_sch/ChartLine.java                                                        |    2 
 qadevOOo/tests/java/mod/_sd/SdXCustomPresentationAccess.java                                       |    2 
 qadevOOo/tests/java/mod/_sd/SdXImpressDocument.java                                                |    2 
 qadevOOo/tests/java/mod/_sd/SdXShape.java                                                          |    2 
 qadevOOo/tests/java/mod/_sm/SmEditAccessible.java                                                  |    2 
 qadevOOo/tests/java/mod/_sm/XMLSettingsExporter.java                                               |    2 
 qadevOOo/tests/java/mod/_smplmail/SimpleSystemMail.java                                            |    2 
 qadevOOo/tests/java/mod/_stm/DataInputStream.java                                                  |    8 
 qadevOOo/tests/java/mod/_stm/DataOutputStream.java                                                 |    8 
 qadevOOo/tests/java/mod/_stm/MarkableOutputStream.java                                             |    8 
 qadevOOo/tests/java/mod/_stm/ObjectInputStream.java                                                |    8 
 qadevOOo/tests/java/mod/_stm/ObjectOutputStream.java                                               |    8 
 qadevOOo/tests/java/mod/_streams/uno/DataInputStream.java                                          |    8 
 qadevOOo/tests/java/mod/_streams/uno/DataOutputStream.java                                         |    8 
 qadevOOo/tests/java/mod/_streams/uno/MarkableOutputStream.java                                     |    8 
 qadevOOo/tests/java/mod/_streams/uno/ObjectInputStream.java                                        |    8 
 qadevOOo/tests/java/mod/_streams/uno/ObjectOutputStream.java                                       |    8 
 qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.java                                          |    2 
 qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderBar.java                                 |    2 
 qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderCell.java                                |    2 
 qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTable.java                                     |    2 
 qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTableCell.java                                 |    2 
 qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.java                                     |    4 
 qadevOOo/tests/java/mod/_svtools/AccessibleTabBar.java                                             |    2 
 qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPageList.java                                     |    4 
 qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBox.java                                        |    4 
 qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBoxEntry.java                                   |    4 
 qadevOOo/tests/java/mod/_svx/AccessiblePageShape.java                                              |    2 
 qadevOOo/tests/java/mod/_svx/AccessiblePresentationGraphicShape.java                               |    2 
 qadevOOo/tests/java/mod/_svx/AccessiblePresentationOLEShape.java                                   |    4 
 qadevOOo/tests/java/mod/_svx/AccessiblePresentationShape.java                                      |    2 
 qadevOOo/tests/java/mod/_svx/GraphicExporter.java                                                  |    2 
 qadevOOo/tests/java/mod/_svx/SvxGraphicObject.java                                                 |    2 
 qadevOOo/tests/java/mod/_sw/SwAccessibleEndnoteView.java                                           |    6 
 qadevOOo/tests/java/mod/_sw/SwAccessibleFooterView.java                                            |    6 
 qadevOOo/tests/java/mod/_sw/SwAccessibleFootnoteView.java                                          |    6 
 qadevOOo/tests/java/mod/_sw/SwAccessibleHeaderView.java                                            |    4 
 qadevOOo/tests/java/mod/_sw/SwAccessiblePageView.java                                              |    2 
 qadevOOo/tests/java/mod/_sw/SwAccessibleTableView.java                                             |    4 
 qadevOOo/tests/java/mod/_sw/SwAccessibleTextEmbeddedObject.java                                    |    4 
 qadevOOo/tests/java/mod/_sw/SwAccessibleTextFrameView.java                                         |    4 
 qadevOOo/tests/java/mod/_sw/SwAccessibleTextGraphicObject.java                                     |    4 
 qadevOOo/tests/java/mod/_sw/SwXHeadFootText.java                                                   |    4 
 qadevOOo/tests/java/mod/_sw/SwXMailMerge.java                                                      |   34 
 qadevOOo/tests/java/mod/_sw/SwXStyleFamily.java                                                    |    2 
 qadevOOo/tests/java/mod/_sw/SwXTableColumns.java                                                   |    2 
 qadevOOo/tests/java/mod/_sw/SwXTextFrameText.java                                                  |    2 
 qadevOOo/tests/java/mod/_sw/SwXTextGraphicObject.java                                              |    8 
 qadevOOo/tests/java/mod/_sw/SwXTextGraphicObjects.java                                             |    8 
 qadevOOo/tests/java/mod/_sw/SwXTextPortion.java                                                    |    2 
 qadevOOo/tests/java/mod/_sw/SwXTextSection.java                                                    |    2 
 qadevOOo/tests/java/mod/_sw/SwXTextTable.java                                                      |    8 
 qadevOOo/tests/java/mod/_sw/SwXTextTables.java                                                     |    4 
 qadevOOo/tests/java/mod/_sw/XMLSettingsExporter.java                                               |    2 
 qadevOOo/tests/java/mod/_toolkit/AccessibleList.java                                               |    2 
 qadevOOo/tests/java/mod/_toolkit/AccessibleMenu.java                                               |    4 
 qadevOOo/tests/java/mod/_toolkit/AccessibleMenuBar.java                                            |    4 
 qadevOOo/tests/java/mod/_toolkit/AccessibleMenuItem.java                                           |    2 
 qadevOOo/tests/java/mod/_toolkit/AccessiblePopupMenu.java                                          |    2 
 qadevOOo/tests/java/mod/_toolkit/AccessibleTabControl.java                                         |    4 
 qadevOOo/tests/java/mod/_toolkit/TabControllerModel.java                                           |    2 
 qadevOOo/tests/java/mod/_toolkit/UnoControlDialogModel.java                                        |   28 
 qadevOOo/tests/java/mod/_toolkit/UnoControlFormattedField.java                                     |    2 
 qadevOOo/tests/java/mod/_toolkit/UnoTreeControl.java                                               |   24 
 qadevOOo/tests/java/mod/_ucprmt/ProxyProvider.java                                                 |    2 
 qadevOOo/tests/java/mod/_uuresolver/UnoUrlResolver.java                                            |    2 
 qadevOOo/tests/java/mod/_uuresolver/uno/UnoUrlResolver.java                                        |    2 
 qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsExporter.java                                      |    2 
 qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java                                   |    2 
 reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStyles.java                          |   10 
 ridljar/com/sun/star/uno/UnoRuntime.java                                                           |    8 
 ridljar/test/com/sun/star/uno/Any_Test.java                                                        |    2 
 ridljar/test/com/sun/star/uno/UnoRuntime_Test.java                                                 |   10 
 sc/qa/complex/calcPreview/ViewForwarder.java                                                       |    2 
 sc/qa/complex/cellRanges/CheckXCellRangesQuery.java                                                |    2 
 sc/qa/complex/dataPilot/CheckDataPilot.java                                                        |    6 
 sc/qa/complex/dataPilot/_XDataPilotDescriptor.java                                                 |    2 
 sc/qa/complex/sc/CalcRTL.java                                                                      |   16 
 scripting/examples/java/Highlight/HighlightText.java                                               |    6 
 scripting/examples/java/MemoryUsage/MemoryUsage.java                                               |    2 
 scripting/examples/java/Newsgroup/OfficeAttachment.java                                            |   14 
 scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java                |   92 -
 scripting/java/com/sun/star/script/framework/browse/DialogFactory.java                             |  103 -
 scripting/java/com/sun/star/script/framework/browse/ParcelBrowseNode.java                          |    2 
 scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java                       |   31 
 scripting/java/com/sun/star/script/framework/provider/PathUtils.java                               |    2 
 scripting/java/org/openoffice/idesupport/zip/ParcelZipper.java                                     |  376 ------
 scripting/java/org/openoffice/netbeans/modules/office/actions/ConfigureParcelAction.java           |    2 
 scripting/java/org/openoffice/netbeans/modules/office/actions/MountDocumentAction.java             |    2 
 scripting/java/org/openoffice/netbeans/modules/office/actions/MountParcelAction.java               |    2 
 scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java                  |    8 
 scripting/java/org/openoffice/netbeans/modules/office/wizard/InstallationPathDescriptor.java       |    2 
 scripting/java/org/openoffice/netbeans/modules/office/wizard/InstallationPathIterator.java         |    2 
 scripting/java/org/openoffice/netbeans/modules/office/wizard/JavaScriptIterator.java               |    2 
 scripting/java/org/openoffice/netbeans/modules/office/wizard/ParcelContentsIterator.java           |    2 
 scripting/workben/ifc/scripting/_XScriptInvocation.java                                            |    2 
 scripting/workben/ifc/scripting/_XScriptNameResolver.java                                          |    2 
 scripting/workben/ifc/scripting/_XScriptSecurity.java                                              |   14 
 scripting/workben/installer/IdeVersion.java                                                        |    2 
 scripting/workben/installer/InstUtil.java                                                          |   62 -
 scripting/workben/installer/Register.java                                                          |    1 
 scripting/workben/installer/Version.java                                                           |    2 
 scripting/workben/mod/_scripting/ScriptInfo.java                                                   |    2 
 scripting/workben/mod/_scripting/ScriptStorage.java                                                |    2 
 sfx2/qa/complex/sfx2/DocumentProperties.java                                                       |   16 
 sot/qa/complex/olesimplestorage/Test01.java                                                        |    2 
 sw/qa/complex/writer/CheckCrossReferences.java                                                     |    6 
 sw/qa/complex/writer/LoadSaveTest.java                                                             |    2 
 sw/qa/complex/writer/TextPortionEnumerationTest.java                                               |    2 
 swext/mediawiki/src/com/sun/star/wiki/Helper.java                                                  |   32 
 swext/mediawiki/src/com/sun/star/wiki/WikiDialog.java                                              |    8 
 swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java                                   |   16 
 swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java                                          |    2 
 swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java                             |    2 
 swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java                                          |    6 
 testtools/com/sun/star/comp/bridge/TestComponent.java                                              |   26 
 testtools/source/servicetests/TestService.java                                                     |    8 
 toolkit/qa/complex/toolkit/Assert.java                                                             |   18 
 toolkit/test/accessibility/AccessibleContextHandler.java                                           |    2 
 toolkit/test/accessibility/AccessibleTextHandler.java                                              |   14 
 toolkit/test/accessibility/EventQueue.java                                                         |    2 
 toolkit/test/accessibility/NodeFactory.java                                                        |    2 
 toolkit/test/accessibility/SimpleOffice.java                                                       |    2 
 toolkit/test/accessibility/ov/StateSetView.java                                                    |    4 
 toolkit/test/accessibility/tools/NameProvider.java                                                 |  286 ++--
 ucb/qa/complex/tdoc/_XCommandProcessor.java                                                        |    2 
 ucb/qa/complex/ucb/UCB.java                                                                        |    4 
 unotest/source/java/org/openoffice/test/OfficeConnection.java                                      |    2 
 unotest/source/java/org/openoffice/test/tools/OfficeDocumentView.java                              |    2 
 vcl/qa/complex/memCheck/CheckMemoryUsage.java                                                      |    4 
 vcl/qa/complex/persistent_window_states/DocumentHandle.java                                        |    4 
 vcl/qa/complex/persistent_window_states/PersistentWindowTest.java                                  |    4 
 vcl/unx/gtk/window/gtksalmenu.cxx                                                                  |    9 
 wizards/com/sun/star/wizards/common/ConfigGroup.java                                               |    4 
 wizards/com/sun/star/wizards/common/Configuration.java                                             |   24 
 wizards/com/sun/star/wizards/common/Desktop.java                                                   |   11 
 wizards/com/sun/star/wizards/common/FileAccess.java                                                |   73 -
 wizards/com/sun/star/wizards/common/Helper.java                                                    |   17 
 wizards/com/sun/star/wizards/common/JavaTools.java                                                 |   14 
 wizards/com/sun/star/wizards/common/NumberFormatter.java                                           |    4 
 wizards/com/sun/star/wizards/common/NumericalHelper.java                                           |  582 ----------
 wizards/com/sun/star/wizards/common/PlaceholderTextElement.java                                    |    2 
 wizards/com/sun/star/wizards/common/PropertySetHelper.java                                         |   34 
 wizards/com/sun/star/wizards/common/SystemDialog.java                                              |    2 
 wizards/com/sun/star/wizards/common/UCB.java                                                       |    4 
 wizards/com/sun/star/wizards/db/ColumnPropertySet.java                                             |   10 
 wizards/com/sun/star/wizards/db/RecordParser.java                                                  |    2 
 wizards/com/sun/star/wizards/db/TableDescriptor.java                                               |    8 
 wizards/com/sun/star/wizards/db/TypeInspector.java                                                 |   12 
 wizards/com/sun/star/wizards/document/Control.java                                                 |    2 
 wizards/com/sun/star/wizards/document/DatabaseControl.java                                         |    2 
 wizards/com/sun/star/wizards/form/CallFormWizard.java                                              |   29 
 wizards/com/sun/star/wizards/form/DataEntrySetter.java                                             |   14 
 wizards/com/sun/star/wizards/form/FieldLinker.java                                                 |   12 
 wizards/com/sun/star/wizards/form/Finalizer.java                                                   |   10 
 wizards/com/sun/star/wizards/form/FormConfiguration.java                                           |   58 
 wizards/com/sun/star/wizards/form/FormControlArranger.java                                         |    8 
 wizards/com/sun/star/wizards/form/FormDocument.java                                                |   10 
 wizards/com/sun/star/wizards/form/FormWizard.java                                                  |    6 
 wizards/com/sun/star/wizards/form/StyleApplier.java                                                |   22 
 wizards/com/sun/star/wizards/form/UIControlArranger.java                                           |   16 
 wizards/com/sun/star/wizards/query/CallQueryWizard.java                                            |    6 
 wizards/com/sun/star/wizards/query/Finalizer.java                                                  |   12 
 wizards/com/sun/star/wizards/query/QueryWizard.java                                                |    2 
 wizards/com/sun/star/wizards/report/CallReportWizard.java                                          |  221 +--
 wizards/com/sun/star/wizards/report/DBColumn.java                                                  |    8 
 wizards/com/sun/star/wizards/report/Dataimport.java                                                |    2 
 wizards/com/sun/star/wizards/report/GroupFieldHandler.java                                         |    2 
 wizards/com/sun/star/wizards/report/ReportFinalizer.java                                           |   16 
 wizards/com/sun/star/wizards/report/ReportLayouter.java                                            |   18 
 wizards/com/sun/star/wizards/report/ReportWizard.java                                              |    2 
 wizards/com/sun/star/wizards/report/report.component                                               |    2 
 wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java                       |   10 
 wizards/com/sun/star/wizards/table/CallTableWizard.java                                            |    6 
 wizards/com/sun/star/wizards/table/FieldDescription.java                                           |    2 
 wizards/com/sun/star/wizards/table/FieldFormatter.java                                             |   34 
 wizards/com/sun/star/wizards/table/Finalizer.java                                                  |   22 
 wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java                                          |   20 
 wizards/com/sun/star/wizards/table/ScenarioSelector.java                                           |   14 
 wizards/com/sun/star/wizards/table/TableWizard.java                                                |    2 
 wizards/com/sun/star/wizards/text/TextDocument.java                                                |    2 
 wizards/com/sun/star/wizards/text/TextTableHandler.java                                            |    2 
 wizards/com/sun/star/wizards/ui/AggregateComponent.java                                            |   16 
 wizards/com/sun/star/wizards/ui/ButtonList.java                                                    |    6 
 wizards/com/sun/star/wizards/ui/CommandFieldSelection.java                                         |    6 
 wizards/com/sun/star/wizards/ui/ControlScroller.java                                               |   14 
 wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java                                       |    2 
 wizards/com/sun/star/wizards/ui/FieldSelection.java                                                |   40 
 wizards/com/sun/star/wizards/ui/ImageList.java                                                     |   70 -
 wizards/com/sun/star/wizards/ui/PathSelection.java                                                 |    6 
 wizards/com/sun/star/wizards/ui/PeerConfig.java                                                    |    2 
 wizards/com/sun/star/wizards/ui/SortingComponent.java                                              |   28 
 wizards/com/sun/star/wizards/ui/TitlesComponent.java                                               |   14 
 wizards/com/sun/star/wizards/ui/UnoDialog.java                                                     |   14 
 wizards/com/sun/star/wizards/ui/UnoDialog2.java                                                    |   75 -
 wizards/com/sun/star/wizards/ui/WizardDialog.java                                                  |   30 
 wizards/com/sun/star/wizards/ui/event/DataAware.java                                               |   37 
 wizards/com/sun/star/wizards/ui/event/DataAwareFields.java                                         |    8 
 wizards/com/sun/star/wizards/ui/event/RadioDataAware.java                                          |    4 
 wizards/com/sun/star/wizards/ui/event/Task.java                                                    |   49 
 wizards/com/sun/star/wizards/ui/event/UnoDataAware.java                                            |   37 
 xmerge/source/bridge/java/XMergeBridge.java                                                        |   10 
 xmerge/source/xmerge/java/org/openoffice/xmerge/converter/dom/DOMDocument.java                     |   32 
 xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/ParaStyle.java                       |    2 
 xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/TextStyle.java                       |    4 
 xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/BookSettings.java                |    2 
 xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/CellStyle.java                   |    4 
 xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/Format.java                      |    2 
 xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/SxcDocumentSerializer.java       |   12 
 xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/PluginFactoryImpl.java          |    2 
 xmerge/source/xmerge/java/org/openoffice/xmerge/test/ConverterInfoList.java                        |    2 
 xmerge/source/xmerge/java/org/openoffice/xmerge/util/IntArrayList.java                             |    7 
 xmerge/source/xmerge/java/org/openoffice/xmerge/util/OfficeUtil.java                               |    2 
 xmlsecurity/test_docs/tools/httpserv/src/httpserv/Main.java                                        |    4 
 615 files changed, 2546 insertions(+), 5866 deletions(-)

New commits:
commit 4b4bff34027cca49fd13e82d33d1b399848838fa
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Aug 12 15:27:21 2014 +0200

    java: no need to instantiate String objects directly
    
    Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03

diff --git a/chart2/qa/TestCaseOldAPI.java b/chart2/qa/TestCaseOldAPI.java
index fec6430..849c559 100644
--- a/chart2/qa/TestCaseOldAPI.java
+++ b/chart2/qa/TestCaseOldAPI.java
@@ -504,7 +504,7 @@ public class TestCaseOldAPI extends ComplexTestCase {
 
         try
         {
-            String aMyServiceName = new String( "com.sun.star.chart.BarDiagram" );
+            String aMyServiceName = "com.sun.star.chart.BarDiagram";
             String aServices[] = xFact.getAvailableServiceNames();
             boolean bServiceFound = false;
             for( int i = 0; i < aServices.length; ++i )
@@ -753,7 +753,7 @@ public class TestCaseOldAPI extends ComplexTestCase {
                 XMultiServiceFactory.class, mxOldDoc );
             assure( "document is no factory", xFact != null );
 
-            String aMyServiceName = new String( "com.sun.star.chart.StockDiagram" );
+            String aMyServiceName = "com.sun.star.chart.StockDiagram";
             XDiagram xDia = UnoRuntime.queryInterface(
                 XDiagram.class, xFact.createInstance( aMyServiceName ));
             assure( aMyServiceName + " could not be created", xDia != null );
diff --git a/embeddedobj/test/Container1/EmbedContApp.java b/embeddedobj/test/Container1/EmbedContApp.java
index b0b2708..94a4e99 100644
--- a/embeddedobj/test/Container1/EmbedContApp.java
+++ b/embeddedobj/test/Container1/EmbedContApp.java
@@ -1524,23 +1524,6 @@ public class EmbedContApp extends Applet
             Object oEmbObj = null;
             if ( xNameAccess.hasByName( "LinkName" ) && xTargetStorage.isStreamElement( "LinkName" ) )
             {
-            /*
-                // OOo links will not be tested until they have correct persistence
-                XStream xLinkStream = xTargetStorage.openStreamElement( "LinkName", ElementModes.ELEMENT_READ );
-                if ( xLinkStream != null )
-                {
-                    XInputStream xInStream = xLinkStream.getInputStream();
-                    if ( xInStream != null )
-                    {
-                        byte[][] pBuff = new byte[1][0];
-                        int nRead = xInStream.readBytes( pBuff, 1000 );
-                        m_aLinkURI = new String( pBuff[0] );
-                        xInStream.closeInput();
-                        oEmbObj = xEmbedCreator.createInstanceLink( m_aLinkURI );
-                        m_bLinkObj = true;
-                    }
-                }
-            */
             }
             else
                 oEmbObj = xEmbedCreator.createInstanceInitFromEntry( xTargetStorage,
diff --git a/extensions/qa/integration/extensions/MethodHandler.java b/extensions/qa/integration/extensions/MethodHandler.java
index 771784b..b2a5603 100644
--- a/extensions/qa/integration/extensions/MethodHandler.java
+++ b/extensions/qa/integration/extensions/MethodHandler.java
@@ -119,7 +119,7 @@ public class MethodHandler implements XPropertyHandler
     {
         XIdlMethod method = impl_getMethod( _propertyName );
 
-        String signature = new String();
+        String signature = "";
         signature += method.getReturnType().getName();
         signature += " ";
         signature += method.getName();
diff --git a/extensions/qa/integration/extensions/ObjectInspector.java b/extensions/qa/integration/extensions/ObjectInspector.java
index f0f1f31..84fcf0e 100644
--- a/extensions/qa/integration/extensions/ObjectInspector.java
+++ b/extensions/qa/integration/extensions/ObjectInspector.java
@@ -34,7 +34,7 @@ public class ObjectInspector extends complexlib.ComplexTestCase
     private XMultiServiceFactory    m_orb;
     private Frame                   m_desktop;
 
-    final private String    m_inspectorFrameName = new String( "ObjectInspector" );
+    final private String    m_inspectorFrameName = "ObjectInspector";
 
     /** Creates a new instance of ValueBinding */
     public ObjectInspector()
diff --git a/forms/qa/integration/forms/CellBinding.java b/forms/qa/integration/forms/CellBinding.java
index d039aee..388ee81 100644
--- a/forms/qa/integration/forms/CellBinding.java
+++ b/forms/qa/integration/forms/CellBinding.java
@@ -110,9 +110,9 @@ public class CellBinding extends complexlib.ComplexTestCase
     {
         final short col = 0;
         final short row = 2;
-        final String text = new String( "content" );
-        final String otherText = new String( "something else" );
-        final String yetAnotherText = new String( "yet another text" );
+        final String text = "content";
+        final String otherText = "something else";
+        final String yetAnotherText = "yet another text";
 
         // cretae a normal text control
         XPropertySet controlModel = m_formLayer.createControlAndShape( "DatabaseTextField", 30, 9, 30, 6 );
@@ -182,8 +182,8 @@ public class CellBinding extends complexlib.ComplexTestCase
         XPropertySet secondaryRadio = createRadio( 51, "radio button B", "radio ref group", "secodary" );
 
         // give the ref values
-        String refValueA = new String( "ref value A" );
-        String refValueB = new String( "ref value B" );
+        String refValueA = "ref value A";
+        String refValueB = "ref value B";
         primaryRadio.setPropertyValue( "RefValue", refValueA );
         secondaryRadio.setPropertyValue( "RefValue", refValueB );
 
@@ -241,7 +241,7 @@ public class CellBinding extends complexlib.ComplexTestCase
     /* ------------------------------------------------------------------ */
     public void checkStringCheckBoxBinding( ) throws com.sun.star.uno.Exception, java.lang.Exception
     {
-        String refValue = new String( "checked " );
+        String refValue = "checked ";
 
         XPropertySet checkBox = m_formLayer.createControlAndShape( "DatabaseCheckBox", 30, 68, 40, 4 );
         checkBox.setPropertyValue( "Label", "check box with ref value" );
diff --git a/forms/qa/integration/forms/DocumentViewHelper.java b/forms/qa/integration/forms/DocumentViewHelper.java
index bd4a344..5c82fa4 100644
--- a/forms/qa/integration/forms/DocumentViewHelper.java
+++ b/forms/qa/integration/forms/DocumentViewHelper.java
@@ -100,7 +100,7 @@ public class DocumentViewHelper
                     XURLTransformer.class, m_orb.createInstance( "com.sun.star.util.URLTransformer" ) );
             xTransformer.parseStrict( aURL );
 
-            xReturn = xProvider.queryDispatch( aURL[0], new String( ), 0 );
+            xReturn = xProvider.queryDispatch( aURL[0], "", 0 );
         }
         return xReturn;
     }
diff --git a/forms/qa/integration/forms/FormControlTest.java b/forms/qa/integration/forms/FormControlTest.java
index d78fd58..d574640 100644
--- a/forms/qa/integration/forms/FormControlTest.java
+++ b/forms/qa/integration/forms/FormControlTest.java
@@ -186,7 +186,7 @@ public class FormControlTest extends complexlib.ComplexTestCase implements XSQLE
         }
 
         // okay, now remove the image
-        xImageModel.setPropertyValue( "ImageURL", new String() );
+        xImageModel.setPropertyValue( "ImageURL", "" );
         if ( !verifyReferenceImage( new byte[0] ) )
         {
             failed( "image control failed to remove the image" );
@@ -563,8 +563,8 @@ public class FormControlTest extends complexlib.ComplexTestCase implements XSQLE
         XPropertySet xRadio = m_formLayer.createControlAndShape( "DatabaseRadioButton", 106, nYPos, 25, 6 );
         xRadio.setPropertyValue( "Label", label );
         xRadio.setPropertyValue( "RefValue", refValue );
-        xRadio.setPropertyValue( "Name", new String( "radio_group" ) );
-        xRadio.setPropertyValue( "DataField", new String( "f_text_enum" ) );
+        xRadio.setPropertyValue( "Name", "radio_group" );
+        xRadio.setPropertyValue( "DataField", "f_text_enum");
     }
 
     /* ------------------------------------------------------------------ */
diff --git a/forms/qa/integration/forms/SingleControlValidation.java b/forms/qa/integration/forms/SingleControlValidation.java
index 239789d..7796568 100644
--- a/forms/qa/integration/forms/SingleControlValidation.java
+++ b/forms/qa/integration/forms/SingleControlValidation.java
@@ -107,18 +107,18 @@ public class SingleControlValidation implements XFormComponentValidityListener
 
             controlPos += 4;
             XPropertySet xLabel = m_formLayer.createControlAndShape( "FixedText", columnPos, controlPos, 70, 4, null );
-            xLabel.setPropertyValue( "Label", new String( "Status:" ) );
+            xLabel.setPropertyValue( "Label", "Status:" );
             controlPos += 4;
             m_statusField = m_formLayer.createControlAndShape( "FixedText", columnPos, controlPos, 70, 4, null );
-            m_statusField.setPropertyValue( "Label", new String( "" ) );
+            m_statusField.setPropertyValue( "Label", "" );
 
 
             controlPos += 6;
             xLabel = m_formLayer.createControlAndShape( "FixedText", columnPos, controlPos, 70, 4, null );
-            xLabel.setPropertyValue( "Label", new String( "Explanation for invalidity:" ) );
+            xLabel.setPropertyValue( "Label", "Explanation for invalidity:" );
             controlPos += 4;
             m_explanationField = m_formLayer.createControlAndShape( "FixedText", columnPos, controlPos, 70, 4, null );
-            m_explanationField.setPropertyValue( "Label", new String( "" ) );
+            m_explanationField.setPropertyValue( "Label", "" );
 
             XValidatable xValidatable = UnoRuntime.queryInterface( XValidatable.class, m_inputField );
             xValidatable.setValidator( m_validator );
diff --git a/forms/qa/integration/forms/TableCellTextBinding.java b/forms/qa/integration/forms/TableCellTextBinding.java
index 5e28bc8..475ceb6 100644
--- a/forms/qa/integration/forms/TableCellTextBinding.java
+++ b/forms/qa/integration/forms/TableCellTextBinding.java
@@ -55,7 +55,7 @@ public class TableCellTextBinding
     {
         m_cellText = UnoRuntime.queryInterface( XTextRange.class, cell );
 
-        m_newCellText = new String();
+        m_newCellText = "";
         m_listeners = new java.util.LinkedList<com.sun.star.util.XModifyListener>();
 
         start();
diff --git a/forms/qa/org/openoffice/xforms/XMLDocument.java b/forms/qa/org/openoffice/xforms/XMLDocument.java
index 339f14a..0f6b337 100644
--- a/forms/qa/org/openoffice/xforms/XMLDocument.java
+++ b/forms/qa/org/openoffice/xforms/XMLDocument.java
@@ -91,7 +91,7 @@ public class XMLDocument extends integration.forms.DocumentHelper
             newModel.setID(_modelName);
             XFormsUIHelper1 modelHelper = UnoRuntime.queryInterface(
                 XFormsUIHelper1.class, newModel );
-            modelHelper.newInstance( "Instance 1", new String(), true );
+            modelHelper.newInstance( "Instance 1", "", true );
             newModel.initialize();
 
             m_forms.insertByName(_modelName, newModel);
diff --git a/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java b/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java
index 45d0c67..07b73a5 100644
--- a/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java
+++ b/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java
@@ -359,8 +359,8 @@ public class AcceleratorsConfigurationTest
             {
                 System.out.println("** get command by " + sKeys[i] + " **");
 
-                String sCmdFromCache = new String(); // get a value using XAcceleratorConfiguration API
-                String sCmdFromConfiguration = new String(); // get a value using configuration API
+                String sCmdFromCache = ""; // get a value using XAcceleratorConfiguration API
+                String sCmdFromConfiguration = ""; // get a value using configuration API
 
                 // GET shortcuts/commands using XAcceleratorConfiguration API
                 sCmdFromCache = xAccelCfg.getCommandByKeyEvent(convertShortcut2AWTKey(sKeys[i]));
@@ -538,7 +538,7 @@ public class AcceleratorsConfigurationTest
     private String getCommandFromConfiguration(XNameAccess xAccess, String sKey)
             throws java.lang.Exception
     {
-        String sCommand = new String();
+        String sCommand = "";
 
         if (xAccess.hasByName(sKey))
         {
@@ -690,7 +690,7 @@ public class AcceleratorsConfigurationTest
     private String getOfficeLocale()
             throws java.lang.Exception
     {
-        String sLocale = new String();
+        String sLocale = "";
 
         String sConfigPath = "org.openoffice.Setup";
         boolean bReadOnly = true;
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
index 34e5026..c3f950b 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
@@ -129,7 +129,7 @@ public class PropertySet_Test
             cl.setPropertyValue("PropDoubleA",value);
             ret= cl.getPropertyValue("PropDoubleA");
             r[i++]= ((Double) ret).equals(value);
-            value= new String("string");
+            value= "string";
             cl.setPropertyValue("PropStringA",value);
             ret= cl.getPropertyValue("PropStringA");
             r[i++]= ((String) ret).equals(value);
@@ -204,7 +204,7 @@ public class PropertySet_Test
             cl.setPropertyValue("PropObjectA",value);
             ret= cl.getPropertyValue("PropObjectA");
             r[i++]= ((Double) ret).equals(value);
-            value= new String("string");
+            value= "string";
             cl.setPropertyValue("PropObjectA",value);
             ret= cl.getPropertyValue("PropObjectA");
             r[i++]= ((String) ret).equals(value);
@@ -261,7 +261,7 @@ public class PropertySet_Test
             cl.setPropertyValue("PropAnyA",value);
             ret= cl.getPropertyValue("PropAnyA");
             r[i++]= ret instanceof Any && util.anyEquals(value, ret);
-            value= new String("string");
+            value= "string";
             cl.setPropertyValue("PropAnyA",value);
             ret= cl.getPropertyValue("PropAnyA");
             r[i++]= ret instanceof Any && util.anyEquals(value, ret);
@@ -315,7 +315,7 @@ public class PropertySet_Test
             cl.setPropertyValue("PropDoubleA",value);
             ret= cl.getPropertyValue("PropDoubleA");
             r[i++]= ret instanceof Double && util.anyEquals(value, ret);
-            value= new Any(new Type(String.class), new String("string"));
+            value= new Any(new Type(String.class), "string");
             cl.setPropertyValue("PropStringA",value);
             ret= cl.getPropertyValue("PropStringA");
             r[i++]= ret instanceof String && util.anyEquals(value, ret);
@@ -370,7 +370,7 @@ public class PropertySet_Test
             cl.setPropertyValue("PropAnyA",value);
             ret= cl.getPropertyValue("PropAnyA");
             r[i++]= ret instanceof Any && util.anyEquals(value, ret);
-            value= new Any(new Type(String.class), new String("string"));
+            value= new Any(new Type(String.class), "string");
             cl.setPropertyValue("PropAnyA",value);
             ret= cl.getPropertyValue("PropAnyA");
             r[i++]= ret instanceof Any && util.anyEquals(value, ret);
@@ -462,7 +462,7 @@ public class PropertySet_Test
             cl.setPropertyValue("PropDoubleClass",value);
             ret= cl.getPropertyValue("PropDoubleClass");
             r[i++]= ret instanceof Double && util.anyEquals(value, ret);
-            value= new Any(new Type(String.class), new String("string"));
+            value= new Any(new Type(String.class), "string");
 
 
 
diff --git a/jurt/test/com/sun/star/lib/uno/protocols/urp/Marshaling_Test.java b/jurt/test/com/sun/star/lib/uno/protocols/urp/Marshaling_Test.java
index 39f8e8b..17551ba 100644
--- a/jurt/test/com/sun/star/lib/uno/protocols/urp/Marshaling_Test.java
+++ b/jurt/test/com/sun/star/lib/uno/protocols/urp/Marshaling_Test.java
@@ -60,7 +60,7 @@ public final class Marshaling_Test {
             Integer.valueOf(0xff000000),
             Long.valueOf(666L),
             Short.valueOf((short)444),
-            new String("blabla"),
+            "blabla",
             Integer.valueOf(10),  // Any as object
             Integer.valueOf(10),  // Any as object
             new Any(new Type(Integer.class), Integer.valueOf(10)), // Any as Any
@@ -70,7 +70,7 @@ public final class Marshaling_Test {
             x,
             new byte[]{1,2,3,4,5,6,7}, // primitive sequence
             new int[]{7,6,5,4,3,2,1}, // primitive sequence
-            new Object[]{Integer.valueOf(123), new String("hallo")}, // any sequence
+            new Object[]{Integer.valueOf(123), "hallo"}, // any sequence
             new TestPrimitiveStruct[]{new TestPrimitiveStruct(), new TestPrimitiveStruct()}, // sequence of primitive structs
             new TestPrimitiveSeqStruct[]{new TestPrimitiveSeqStruct(), new TestPrimitiveSeqStruct()}, // sequence of primitive structs
             new TestNestedStruct(),
diff --git a/jurt/test/com/sun/star/uno/AnyConverter_Test.java b/jurt/test/com/sun/star/uno/AnyConverter_Test.java
index 0900eea..eb55ae1 100644
--- a/jurt/test/com/sun/star/uno/AnyConverter_Test.java
+++ b/jurt/test/com/sun/star/uno/AnyConverter_Test.java
@@ -46,7 +46,7 @@ public final class AnyConverter_Test {
     Float aFloat= new Float( 3.14);
     Double aDouble= new Double( 3.145);
     Object aObj= new ATypeProvider();
-    String aStr= new String("I am a string");
+    String aStr= "I am a string";
     Type aType= new Type(String.class);
     byte[] arByte= new byte[] {1,2,3};
 
diff --git a/odk/examples/DevelopersGuide/BasicAndDialogs/CreatingDialogs/SampleDialog.java b/odk/examples/DevelopersGuide/BasicAndDialogs/CreatingDialogs/SampleDialog.java
index c455e5f..2b25f21 100644
--- a/odk/examples/DevelopersGuide/BasicAndDialogs/CreatingDialogs/SampleDialog.java
+++ b/odk/examples/DevelopersGuide/BasicAndDialogs/CreatingDialogs/SampleDialog.java
@@ -151,7 +151,7 @@ public class SampleDialog extends WeakBase implements XServiceInfo, XJobExecutor
         xPSetDialog.setPropertyValue( "PositionY", Integer.valueOf( 100 ) );
         xPSetDialog.setPropertyValue( "Width", Integer.valueOf( 150 ) );
         xPSetDialog.setPropertyValue( "Height", Integer.valueOf( 100 ) );
-        xPSetDialog.setPropertyValue( "Title", new String( "Runtime Dialog Demo" ) );
+        xPSetDialog.setPropertyValue( "Title", "Runtime Dialog Demo" );
 
         // get the service manager from the dialog model
         XMultiServiceFactory xMultiServiceFactory = ( XMultiServiceFactory )UnoRuntime.queryInterface(
@@ -168,7 +168,7 @@ public class SampleDialog extends WeakBase implements XServiceInfo, XJobExecutor
         xPSetButton.setPropertyValue( "Height", Integer.valueOf( 14 ) );
         xPSetButton.setPropertyValue( "Name", _buttonName );
         xPSetButton.setPropertyValue( "TabIndex", Short.valueOf( (short)0 ) );
-        xPSetButton.setPropertyValue( "Label", new String( "Click Me" ) );
+        xPSetButton.setPropertyValue( "Label", "Click Me" );
 
         // create the label model and set the properties
         Object labelModel = xMultiServiceFactory.createInstance(
@@ -195,7 +195,7 @@ public class SampleDialog extends WeakBase implements XServiceInfo, XJobExecutor
         xPSetCancelButton.setPropertyValue( "Name", _cancelButtonName );
         xPSetCancelButton.setPropertyValue( "TabIndex", Short.valueOf( (short)2 ) );
         xPSetCancelButton.setPropertyValue( "PushButtonType", Short.valueOf( (short)2 ) );
-        xPSetCancelButton.setPropertyValue( "Label", new String( "Cancel" ) );
+        xPSetCancelButton.setPropertyValue( "Label", "Cancel" );
 
         // insert the control models into the dialog model
         XNameContainer xNameCont = ( XNameContainer )UnoRuntime.queryInterface(
diff --git a/odk/examples/DevelopersGuide/Charts/CalcHelper.java b/odk/examples/DevelopersGuide/Charts/CalcHelper.java
index fa02dc3..ca9ea94 100644
--- a/odk/examples/DevelopersGuide/Charts/CalcHelper.java
+++ b/odk/examples/DevelopersGuide/Charts/CalcHelper.java
@@ -303,7 +303,7 @@ public class CalcHelper
                     }
                     else
                     {
-                        aFormula = new String( "=" );
+                        aFormula = "=";
                         if( nCol % 2 == 0 )
                             aFormula += "SIN";
                         else
diff --git a/odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java b/odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java
index 8d15ff9..31b3cf8 100644
--- a/odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java
+++ b/odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java
@@ -283,7 +283,7 @@ public class JavaSampleChartAddIn extends WeakBase implements
     // XServiceName
     public String getServiceName() throws RuntimeException
     {
-        return new String( smServiceName );
+        return smServiceName;
     }
 
     // XServiceInfo
@@ -312,7 +312,7 @@ public class JavaSampleChartAddIn extends WeakBase implements
     // XDiagram
     public String getDiagramType() throws RuntimeException
     {
-        return new String( smServiceName );
+        return smServiceName;
     }
 
     public XPropertySet getDataRowProperties( int nRow )
@@ -349,7 +349,7 @@ public class JavaSampleChartAddIn extends WeakBase implements
     // XShapeDescriptor : XShape : XDiagram
     public String getShapeType() throws RuntimeException
     {
-        return new String( "com.sun.star.comp.Chart.JavaSampleDiagramShape" );
+        return "com.sun.star.comp.Chart.JavaSampleDiagramShape";
     }
 
 
diff --git a/odk/examples/DevelopersGuide/Charts/ListenAtCalcRangeInDraw.java b/odk/examples/DevelopersGuide/Charts/ListenAtCalcRangeInDraw.java
index 60ac0b0..30700ed 100644
--- a/odk/examples/DevelopersGuide/Charts/ListenAtCalcRangeInDraw.java
+++ b/odk/examples/DevelopersGuide/Charts/ListenAtCalcRangeInDraw.java
@@ -159,7 +159,7 @@ public class ListenAtCalcRangeInDraw implements XChartDataChangeEventListener
     public void chartDataChanged( ChartDataChangeEvent aEvent )
     {
         // update subtitle
-        String aTitle = new String( "Last Update: " + new java.util.Date( System.currentTimeMillis() ));
+        String aTitle = "Last Update: " + new java.util.Date();
 
         try
         {
diff --git a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java
index bb1cdb8..8c2e95a 100644
--- a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java
+++ b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java
@@ -206,7 +206,7 @@ public class ProtocolHandlerAddon {
                 // describe window properties.
                 WindowDescriptor aDescriptor = new WindowDescriptor();
                 aDescriptor.Type              = WindowClass.MODALTOP;
-                aDescriptor.WindowServiceName = new String( "infobox" );
+                aDescriptor.WindowServiceName = "infobox";
                 aDescriptor.ParentIndex       = -1;
                 aDescriptor.Parent            = UnoRuntime.queryInterface(
                     XWindowPeer.class, m_xFrame.getContainerWindow());
diff --git a/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java b/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
index 7376fdd..4004a50 100644
--- a/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
+++ b/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
@@ -171,7 +171,7 @@ public class DialogComponent {
                 // describe window properties.
                 WindowDescriptor aDescriptor = new WindowDescriptor();
                 aDescriptor.Type              = WindowClass.MODALTOP;
-                aDescriptor.WindowServiceName = new String( "infobox" );
+                aDescriptor.WindowServiceName = "infobox";
                 aDescriptor.ParentIndex       = -1;
                 aDescriptor.Parent            = UnoRuntime.queryInterface(
                     XWindowPeer.class, m_xFrame.getContainerWindow());
diff --git a/odk/examples/DevelopersGuide/Forms/DataAwareness.java b/odk/examples/DevelopersGuide/Forms/DataAwareness.java
index 1386aa3..f831d63 100644
--- a/odk/examples/DevelopersGuide/Forms/DataAwareness.java
+++ b/odk/examples/DevelopersGuide/Forms/DataAwareness.java
@@ -70,7 +70,7 @@ class PrintComponentTree extends ComponentTreeTraversal
 
     public PrintComponentTree()
     {
-        m_sPrefix = new String();
+        m_sPrefix = "";
     }
 
     @Override
@@ -186,11 +186,11 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
 
         XNamed xNameAcc = UnoRuntime.queryInterface( XNamed.class, xContainer );
         if ( null == xNameAcc )
-            sObjectName = new String( "<unnamed>" );
+            sObjectName = "<unnamed>";
         else
             sObjectName = xNameAcc.getName();
-        System.out.println( new String( "enumerating the container named \"" ) + sObjectName +
-            new String( "\"\n" ) );
+        System.out.println( "enumerating the container named \"" + sObjectName +
+            "\"\n" );
 
         PrintComponentTree aPrinter = new PrintComponentTree();
         aPrinter.handle( xContainer );
@@ -745,7 +745,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
         xSalesFormProps.setPropertyValue( "DataSourceName", m_database.getDocumentURL() );
         xSalesFormProps.setPropertyValue( "CommandType", Integer.valueOf( CommandType.COMMAND ) );
 
-        String sCommand = new String( "SELECT * FROM " );
+        String sCommand = "SELECT * FROM ";
         sCommand += s_tableNameSales;
         sCommand += " WHERE " + s_tableNameSales + ".SNR = :salesmen";
         xSalesFormProps.setPropertyValue( "Command", sCommand );
diff --git a/odk/examples/DevelopersGuide/Forms/DocumentViewHelper.java b/odk/examples/DevelopersGuide/Forms/DocumentViewHelper.java
index 9cac2a8..148eecd 100644
--- a/odk/examples/DevelopersGuide/Forms/DocumentViewHelper.java
+++ b/odk/examples/DevelopersGuide/Forms/DocumentViewHelper.java
@@ -99,7 +99,7 @@ class DocumentViewHelper
                     XURLTransformer.class, m_orb.createInstance( "com.sun.star.util.URLTransformer" ) );
             xTransformer.parseStrict( aURL );
 
-            xReturn = xProvider.queryDispatch( aURL[0], new String( ), 0 );
+            xReturn = xProvider.queryDispatch( aURL[0], "", 0 );
         }
         return xReturn;
     }
@@ -151,7 +151,7 @@ class DocumentViewHelper
     {
         // get a dispatcher for the toggle URL
         URL[] aToggleURL = new URL[] { new URL() };
-        aToggleURL[0].Complete = new String( ".uno:SwitchControlDesignMode" );
+        aToggleURL[0].Complete = ".uno:SwitchControlDesignMode";
         XDispatch xDispatcher = getDispatcher( aToggleURL );
 
         // dispatch the URL - this will result in toggling the mode
diff --git a/odk/examples/DevelopersGuide/Forms/GridFieldValidator.java b/odk/examples/DevelopersGuide/Forms/GridFieldValidator.java
index aa5a63d..2a3d924 100644
--- a/odk/examples/DevelopersGuide/Forms/GridFieldValidator.java
+++ b/odk/examples/DevelopersGuide/Forms/GridFieldValidator.java
@@ -95,9 +95,9 @@ class GridFieldValidator implements XUpdateListener
             sMessage += "\" is not allowed to contain empty strings.";
 
             SQLContext aError = new SQLContext(
-                new String( "Invalid Value Entered" ),
+                "Invalid Value Entered",
                 null,
-                new String( "S1000" ),
+                "S1000",
                 0,
                 new Any( new Type(), null ),
                 sMessage
diff --git a/odk/examples/DevelopersGuide/Forms/KeyGenerator.java b/odk/examples/DevelopersGuide/Forms/KeyGenerator.java
index 2e00c84..1b1157b 100644
--- a/odk/examples/DevelopersGuide/Forms/KeyGenerator.java
+++ b/odk/examples/DevelopersGuide/Forms/KeyGenerator.java
@@ -101,9 +101,9 @@ class UniqueColumnValue
     */
     private String composeUniqueyKeyStatement( XPropertySet xForm, String sFieldName ) throws com.sun.star.uno.Exception
     {
-        String sStatement = new String( "SELECT MAX( " );
+        String sStatement = "SELECT MAX( ";
         sStatement += sFieldName;
-        sStatement += new String( ") + 1 FROM " );
+        sStatement += ") + 1 FROM ";
         // the table name is a property of the form
         sStatement += extractTableName( xForm );
 
diff --git a/odk/examples/DevelopersGuide/Forms/SalesFilter.java b/odk/examples/DevelopersGuide/Forms/SalesFilter.java
index ee2aedf..5a1b46c 100644
--- a/odk/examples/DevelopersGuide/Forms/SalesFilter.java
+++ b/odk/examples/DevelopersGuide/Forms/SalesFilter.java
@@ -214,7 +214,7 @@ class SalesFilter implements XActionListener, XPropertyChangeListener, XResetLis
                 GregorianCalendar aCal = new GregorianCalendar();
                 aCal.setTime( (java.util.Date)aDate );
 
-                sOdbcDate += new String( "{D '" );
+                sOdbcDate += "{D '";
                 sOdbcDate += (Integer.valueOf( aCal.get( Calendar.YEAR ) ) ).toString();
                 sOdbcDate += "-";
 
diff --git a/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java b/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java
index 115d4c3..a3fe49b 100644
--- a/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java
+++ b/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java
@@ -103,18 +103,18 @@ public class SingleControlValidation implements XFormComponentValidityListener
 
             controlPos += 4;
             XPropertySet xLabel = m_formLayer.createControlAndShape( "FixedText", columnPos, controlPos, 70, 4, null );
-            xLabel.setPropertyValue( "Label", new String( "Status:" ) );
+            xLabel.setPropertyValue( "Label", "Status:" );
             controlPos += 4;
             m_statusField = m_formLayer.createControlAndShape( "FixedText", columnPos, controlPos, 70, 4, null );
-            m_statusField.setPropertyValue( "Label", new String( "" ) );
+            m_statusField.setPropertyValue( "Label", "" );
 
 
             controlPos += 6;
             xLabel = m_formLayer.createControlAndShape( "FixedText", columnPos, controlPos, 70, 4, null );
-            xLabel.setPropertyValue( "Label", new String( "Explanation for invalidity:" ) );
+            xLabel.setPropertyValue( "Label", "Explanation for invalidity:" );
             controlPos += 4;
             m_explanationField = m_formLayer.createControlAndShape( "FixedText", columnPos, controlPos, 70, 4, null );
-            m_explanationField.setPropertyValue( "Label", new String( "" ) );
+            m_explanationField.setPropertyValue( "Label", "" );
 
             XValidatable xValidatable = UnoRuntime.queryInterface( XValidatable.class, m_inputField );
             xValidatable.setValidator( m_validator );
diff --git a/odk/examples/DevelopersGuide/Forms/TableCellTextBinding.java b/odk/examples/DevelopersGuide/Forms/TableCellTextBinding.java
index a7daf35..0d95df2 100644
--- a/odk/examples/DevelopersGuide/Forms/TableCellTextBinding.java
+++ b/odk/examples/DevelopersGuide/Forms/TableCellTextBinding.java
@@ -52,7 +52,7 @@ public class TableCellTextBinding
     {
         m_cellText = UnoRuntime.queryInterface( XTextRange.class, cell );
 
-        m_newCellText = new String();
+        m_newCellText = "";
         m_listeners = new java.util.LinkedList<XModifyListener>();
 
         start();
diff --git a/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java b/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java
index eaecc4c..bb5a8bd 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java
@@ -69,7 +69,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
             com.sun.star.text.XTextDocument xDoc =UnoRuntime.queryInterface(com.sun.star.text.XTextDocument.class,
                                       xComponent);
 
-            String infoMsg = new String("All context menus of the created document frame contains now a 'Help' entry with the submenus 'Content', 'Help Agent' and 'Tips'.\n\nPress 'Return' in the shell to remove the context menu interceptor and finish the example!");
+            String infoMsg = "All context menus of the created document frame contains now a 'Help' entry with the submenus 'Content', 'Help Agent' and 'Tips'.\n\nPress 'Return' in the shell to remove the context menu interceptor and finish the example!";
             xDoc.getText().setString(infoMsg);
 
             // ensure that the document content is optimal visible
@@ -176,9 +176,9 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
                             "com.sun.star.ui.ActionTriggerContainer" ));
 
                 // intialize root menu entry
-                xRootMenuEntry.setPropertyValue( "Text", new String( "Help" ));
-                xRootMenuEntry.setPropertyValue( "CommandURL", new String( "slot:5410" ));
-                xRootMenuEntry.setPropertyValue( "HelpURL", new String( "5410" ));
+                xRootMenuEntry.setPropertyValue( "Text", "Help");
+                xRootMenuEntry.setPropertyValue( "CommandURL", "slot:5410");
+                xRootMenuEntry.setPropertyValue( "HelpURL", "5410");
                 xRootMenuEntry.setPropertyValue( "SubContainer", xSubMenuContainer );
 
                 // create menu entries for the new sub menu
@@ -188,9 +188,9 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
                                               XPropertySet.class, xMenuElementFactory.createInstance(
                                                   "com.sun.star.ui.ActionTrigger" ));
 
-                xMenuEntry.setPropertyValue( "Text", new String( "Content" ));
-                xMenuEntry.setPropertyValue( "CommandURL", new String( "slot:5401" ));
-                xMenuEntry.setPropertyValue( "HelpURL", new String( "5401" ));
+                xMenuEntry.setPropertyValue( "Text", "Content" );
+                xMenuEntry.setPropertyValue( "CommandURL", "slot:5401" );
+                xMenuEntry.setPropertyValue( "HelpURL", "5401" );
 
                 // insert menu entry to sub menu
                 xSubMenuContainer.insertByIndex( 0, xMenuEntry );
@@ -200,9 +200,9 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
                                  com.sun.star.beans.XPropertySet.class,
                                      xMenuElementFactory.createInstance(
                                          "com.sun.star.ui.ActionTrigger" ));
-                xMenuEntry.setPropertyValue( "Text", new String( "Help Agent" ));
-                xMenuEntry.setPropertyValue( "CommandURL", new String( "slot:5962" ));
-                xMenuEntry.setPropertyValue( "HelpURL", new String( "5962" ));
+                xMenuEntry.setPropertyValue( "Text", "Help Agent" );
+                xMenuEntry.setPropertyValue( "CommandURL", "slot:5962" );
+                xMenuEntry.setPropertyValue( "HelpURL", "5962" );
 
                 // insert menu entry to sub menu
                 xSubMenuContainer.insertByIndex( 1, xMenuEntry );
@@ -212,9 +212,9 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
                                  com.sun.star.beans.XPropertySet.class,
                                      xMenuElementFactory.createInstance(
                                          "com.sun.star.ui.ActionTrigger" ));
-                xMenuEntry.setPropertyValue( "Text", new String( "Tips" ));
-                xMenuEntry.setPropertyValue( "CommandURL", new String( "slot:5404" ));
-                xMenuEntry.setPropertyValue( "HelpURL", new String( "5404" ));
+                xMenuEntry.setPropertyValue( "Text", "Tips" );
+                xMenuEntry.setPropertyValue( "CommandURL", "slot:5404" );
+                xMenuEntry.setPropertyValue( "HelpURL", "5404" );
 
                 // insert menu entry to sub menu
                 xSubMenuContainer.insertByIndex( 2, xMenuEntry );
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java
index 77779e73..d21f8d3 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java
@@ -60,8 +60,8 @@ public class Desk
     public static void main(String[] lArguments)
     {
         // Analyze command line parameters.
-        String  sMode  = new String("inplace");
-        String  sFile  = new String("private:factory/swriter");
+        String  sMode  = "inplace";
+        String  sFile  = "private:factory/swriter";
 
         for(int i=0; i<lArguments.length; ++i)
         {
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
index 7439b31..bffa732 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
@@ -668,13 +668,13 @@ public class FunctionHelper
                 // Find out possible filter name.
                 String sFilter = null;
                 if(xInfo.supportsService("com.sun.star.text.TextDocument")==true)
-                    sFilter = new String("HTML (StarWriter)");
+                    sFilter = "HTML (StarWriter)";
                 else
                 if(xInfo.supportsService("com.sun.star.text.WebDocument")==true)
-                    sFilter = new String("HTML");
+                    sFilter = "HTML";
                 else
                 if(xInfo.supportsService("com.sun.star.sheet.SpreadsheetDocument")==true)
-                    sFilter = new String("HTML (StarCalc)");
+                    sFilter = "HTML (StarCalc)";
 
                 // Check for existing state of this filter.
                 if(sFilter!=null)
@@ -842,23 +842,23 @@ public class FunctionHelper
             for (int i=0; i<nCount; ++i )
             {
                 com.sun.star.frame.XFrame xFrame = (com.sun.star.frame.XFrame)AnyConverter.toObject(new com.sun.star.uno.Type(com.sun.star.frame.XFrame.class), xContainer.getByIndex(i));
-                                        sName  = new String(BASEFRAMENAME+mnViewCount);
+                                        sName  = BASEFRAMENAME+mnViewCount;
                 while(sName.equals(xFrame.getName()))
                 {
                     ++mnViewCount;
-                    sName = new String(BASEFRAMENAME+mnViewCount);
+                    sName = BASEFRAMENAME+mnViewCount;
                 }
             }
         }
         catch(com.sun.star.uno.Exception exCreateFailed)
         {
-            sName = new String(BASEFRAMENAME);
+            sName = BASEFRAMENAME;
         }
 
         if (sName==null)
         {
             System.out.println("invalid name!");
-            sName = new String(BASEFRAMENAME);
+            sName = BASEFRAMENAME;
         }
 
         return sName;
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DisableCommands/DisableCommandsTest.java b/odk/examples/DevelopersGuide/OfficeDev/DisableCommands/DisableCommandsTest.java
index 37fbc09..d600609 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DisableCommands/DisableCommandsTest.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DisableCommands/DisableCommandsTest.java
@@ -52,10 +52,10 @@ public class DisableCommandsTest extends java.lang.Object {
      */
     final static private String[] aCommandURLTestSet =
     {
-        new String( "Open" ),
-        new String( "About" ),
-        new String( "SelectAll" ),
-        new String( "Quit" ),
+        "Open",
+        "About",
+        "SelectAll",
+        "Quit",
     };
 
     private static XComponentContext xRemoteContext = null;
@@ -252,7 +252,7 @@ public class DisableCommandsTest extends java.lang.Object {
             new com.sun.star.beans.PropertyValue[1];
 
         lParams[0] = new com.sun.star.beans.PropertyValue();
-        lParams[0].Name  = new String("nodepath");
+        lParams[0].Name  = "nodepath";
         lParams[0].Value = "/org.openoffice.Office.Commands/Execute/Disabled";
 
         try {
@@ -308,7 +308,7 @@ public class DisableCommandsTest extends java.lang.Object {
             new com.sun.star.beans.PropertyValue[1];
 
         lParams[0] = new com.sun.star.beans.PropertyValue();
-        lParams[0].Name  = new String("nodepath");
+        lParams[0].Name  = "nodepath";
         lParams[0].Value = "/org.openoffice.Office.Commands/Execute/Disabled";
 
         try {
@@ -345,7 +345,7 @@ public class DisableCommandsTest extends java.lang.Object {
 
                         if ( xPropertySet != null ) {
                             // Create a unique node name.
-                            String aCmdNodeName = new String( "Command-" );
+                            String aCmdNodeName = "Command-";
                             aCmdNodeName += i;
 
                             // Insert the node into the Disabled set
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
index c09e7ce..f12b2cf 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
@@ -144,7 +144,7 @@ public class AsciiReplaceFilter
             }
 
             // these are safe, thus no errorhandling needed:
-            m_sInternalName    = new String()       ;
+            m_sInternalName    = ""       ;
             m_xDocument        = null               ;
             m_bImport          = true               ;
             m_nFilterProcState = FILTERPROC_STOPPED ;
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
index 5d6e9a3..ce22111 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
@@ -121,8 +121,8 @@ public class FilterOptions
         m_xOutput      = null        ;
         m_bStreamOwner = false       ;
         m_sURL         = null        ;
-        m_sOld         = new String();
-        m_sNew         = new String();
+        m_sOld         = "";
+        m_sNew         = "";
         m_bCaseChange  = false       ;
         m_bLower       = false       ;
 
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java
index 01b9acd..f020097 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java
@@ -61,11 +61,11 @@ public class XHyphenatedWord_impl implements
         //!! none of these cases should ever occur!
         //!! values provided only for safety
         if (this.aWord == null)
-            this.aWord = new String();
+            this.aWord = "";
         if (this.aLang == null)
             this.aLang = new Locale();
         if (this.aHyphenatedWord == null)
-            this.aHyphenatedWord = new String();
+            this.aHyphenatedWord = "";
     }
 
 
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java
index 0df2eb4..9f4cf4d 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java
@@ -48,7 +48,7 @@ public class XMeaning_impl implements
         //!! none of these cases should ever occur!
         //!! values provided only for safety
         if (this.aMeaning == null)
-            this.aMeaning = new String();
+            this.aMeaning = "";
 
         // a meaning without synonyms may be OK though.
         // still for safety an empty existing array has to be provided.
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java
index cf59d40..5ffb37d 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java
@@ -56,11 +56,11 @@ public class XPossibleHyphens_impl implements
         //!! none of these cases should ever occur!
         //!! values provided only for safety
         if (this.aWord == null)
-            this.aWord = new String();
+            this.aWord = "";
         if (this.aLang == null)
             this.aLang = new Locale();
         if (this.aHyphWord == null)
-            this.aHyphWord = new String();
+            this.aHyphWord = "";
 
         // having no hyphenation positions is OK though.
         // still for safety an empty existing array has to be provided.
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java
index ae26a44..aeb0275 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java
@@ -57,7 +57,7 @@ public class XSpellAlternatives_impl implements
         //!! none of these cases should ever occur!
         //!! values provided only for safety
         if (this.aWord == null)
-            this.aWord = new String();
+            this.aWord = "";
         if (this.aLanguage == null)
             this.aLanguage = new Locale();
 
diff --git a/odk/examples/DevelopersGuide/UCB/Helper.java b/odk/examples/DevelopersGuide/UCB/Helper.java
index 015e697..0bc7fb1 100644
--- a/odk/examples/DevelopersGuide/UCB/Helper.java
+++ b/odk/examples/DevelopersGuide/UCB/Helper.java
@@ -181,7 +181,7 @@ public class Helper {
         {
             e.printStackTrace();
         }
-        return new String();
+        return "";
     }
 
     public static String prependCurrentDirAsAbsoluteFileURL( String relativeURL )
@@ -217,8 +217,7 @@ public class Helper {
             try
             {
                 file.createNewFile();
-                String content = new String(
-                    "This is the content of a sample data file." );
+                String content = "This is the content of a sample data file.";
                 FileOutputStream stream = new FileOutputStream( file );
                 stream.write( content.getBytes() );
                 stream.close();
@@ -235,6 +234,6 @@ public class Helper {
             e.printStackTrace();
         }
 
-        return new String();
+        return "";
     }
 }
diff --git a/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java b/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java
index 80a0913..fda7862 100644
--- a/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java
+++ b/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java
@@ -251,7 +251,7 @@ public final class OwnEmbeddedObject extends WeakBase
             XInputStream xInStream = xStream.getInputStream();
             byte[][] aData = new byte[1][];
             aData[0] = new byte[0];
-            String aResult = new String();
+            String aResult = "";
 
             int nLen = 0;
             do
@@ -661,7 +661,7 @@ public final class OwnEmbeddedObject extends WeakBase
         if ( m_bDisposed )
             throw new com.sun.star.lang.DisposedException();
 
-        return new String();
+        return "";
     }
 
 
diff --git a/odk/examples/java/Inspector/ProtocolHandlerAddon.java b/odk/examples/java/Inspector/ProtocolHandlerAddon.java
index 1515759..714593b 100644
--- a/odk/examples/java/Inspector/ProtocolHandlerAddon.java
+++ b/odk/examples/java/Inspector/ProtocolHandlerAddon.java
@@ -208,7 +208,7 @@ public class ProtocolHandlerAddon {
                 // describe window properties.
                 WindowDescriptor aDescriptor = new WindowDescriptor();
                 aDescriptor.Type              = WindowClass.MODALTOP;
-                aDescriptor.WindowServiceName = new String( "infobox" );
+                aDescriptor.WindowServiceName = "infobox";
                 aDescriptor.ParentIndex       = -1;
                 aDescriptor.Parent            = UnoRuntime.queryInterface(
                     XWindowPeer.class, m_xFrame.getContainerWindow());
diff --git a/odk/examples/java/Text/StyleCreation.java b/odk/examples/java/Text/StyleCreation.java
index 2861131..63f8825 100644
--- a/odk/examples/java/Text/StyleCreation.java
+++ b/odk/examples/java/Text/StyleCreation.java
@@ -89,7 +89,7 @@ public class StyleCreation {
             System.out.println( "create a PropertySet to set the properties for the new Paragraphstyle" );
 
             // set some properties from the Paragraph style
-            xPropertySet.setPropertyValue("CharFontName", new String( "Helvetica" ) );
+            xPropertySet.setPropertyValue("CharFontName", "Helvetica" );
             System.out.println( "set name of the font to 'Helvetica'" );
 
             xPropertySet.setPropertyValue("CharHeight", new Float( 36 ) );
@@ -129,7 +129,7 @@ public class StyleCreation {
             // To run the sample with StarOffice 5.2 you'll have to change
             // 'ParaStyleName' to 'ParaStyle' in the next line
             xParagraphPropertySet.setPropertyValue("ParaStyleName",
-                new String( "myheading" ) );
+                "myheading" );
             System.out.println( "apply the new paragraph style");
         }
         catch( Exception e) {
diff --git a/odk/examples/java/Text/StyleInitialization.java b/odk/examples/java/Text/StyleInitialization.java
index 76d498d..be65e05 100644
--- a/odk/examples/java/Text/StyleInitialization.java
+++ b/odk/examples/java/Text/StyleInitialization.java
@@ -212,7 +212,7 @@ public class StyleInitialization {
 
                     // To run the sample with StarOffice 5.2 you'll have to change 'ParaStyleName'
                     // to 'ParaStyle' in the next line
-                    xPropertySet.setPropertyValue("ParaStyleName", new String( sElementNames[iCounter] ) );
+                    xPropertySet.setPropertyValue("ParaStyleName", sElementNames[iCounter] );
                     System.out.println( "Apply the paragraph style : " + sElementNames[iCounter] );
                     break;
                 }
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotDescriptor.java
index dbcd70b..c0265af 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotDescriptor.java
@@ -58,7 +58,7 @@ public class _XDataPilotDescriptor extends MultiMethodTest {
     public XDataPilotDescriptor oObj = null;
     CellRangeAddress CRA = new CellRangeAddress((short)1, 1, 1, 5, 5);
     CellRangeAddress oldCRA = null ;
-    String sTag = new String ("XDataPilotDescriptor_Tag");
+    String sTag = "XDataPilotDescriptor_Tag";
     String fieldsNames[];
     int fieldsAmount = 0;
     int tEnvFieldsAmount = 0;
diff --git a/sc/qa/complex/dataPilot/_XDataPilotDescriptor.java b/sc/qa/complex/dataPilot/_XDataPilotDescriptor.java
index 3fcee41..37ec42a 100644
--- a/sc/qa/complex/dataPilot/_XDataPilotDescriptor.java
+++ b/sc/qa/complex/dataPilot/_XDataPilotDescriptor.java
@@ -55,7 +55,7 @@ public class _XDataPilotDescriptor {
     private XDataPilotDescriptor oObj = null;
     private CellRangeAddress CRA = new CellRangeAddress((short)1, 0, 0, 5, 5);
 
-    private String sTag = new String ("XDataPilotDescriptor_Tag");
+    private String sTag = "XDataPilotDescriptor_Tag";
     private String fieldsNames[];
     private int fieldsAmount = 0;
     private int tEnvFieldsAmount = 0;
diff --git a/scripting/examples/java/Newsgroup/OfficeAttachment.java b/scripting/examples/java/Newsgroup/OfficeAttachment.java
index 8e36d1f..8a008ae 100644
--- a/scripting/examples/java/Newsgroup/OfficeAttachment.java
+++ b/scripting/examples/java/Newsgroup/OfficeAttachment.java
@@ -104,11 +104,11 @@ public class OfficeAttachment
                 status.setStatus( 4, statusLine );
                        PropertyValue[] propertyvalue_html = new PropertyValue[2];
                     propertyvalue_html[0] = new PropertyValue();
-                        propertyvalue_html[0].Name = new String("Overwrite");
+                        propertyvalue_html[0].Name = "Overwrite";
                     propertyvalue_html[0].Value = Boolean.TRUE;
                        propertyvalue_html[1] = new PropertyValue();
                     propertyvalue_html[1].Name = ("FilterName");
-                    propertyvalue_html[1].Value = new String("swriter: HTML (StarWriter)");
+                    propertyvalue_html[1].Value = "swriter: HTML (StarWriter)";
                 storedDoc.storeAsURL( filenameURL + ".html", propertyvalue_html);
 
                 File homedir = new File( templocationSystem );
@@ -130,10 +130,10 @@ public class OfficeAttachment
                 status.setStatus( 4, statusLine );
                 PropertyValue[] propertyvalue_sxw = new PropertyValue[2];
                     propertyvalue_sxw[0] = new PropertyValue();
-                    propertyvalue_sxw[0].Name = new String("Overwrite");
+                    propertyvalue_sxw[0].Name = "Overwrite";
                     propertyvalue_sxw[0].Value = Boolean.TRUE;
                     propertyvalue_sxw[1] = new PropertyValue();
-                    propertyvalue_sxw[1].Name = new String("Overwrite");
+                    propertyvalue_sxw[1].Name = "Overwrite";
                     propertyvalue_sxw[1].Value = Boolean.TRUE;
                     storedDoc.storeAsURL( filenameURL + ".sxw", propertyvalue_sxw);
 
diff --git a/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java b/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
index dfba375..b1bdfff 100644
--- a/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
+++ b/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
@@ -337,7 +337,7 @@ XInitialization {
             xPSetCheckBox.setPropertyValue( "State", Short.valueOf((short)0) );
             xPSetCheckBox.setPropertyValue( "Name", _checkBoxName );
             xPSetCheckBox.setPropertyValue( "TabIndex", Short.valueOf( (short)1 ) );
-            xPSetCheckBox.setPropertyValue( "Label", new String(_checkBoxString +checkBoxPath) );
+            xPSetCheckBox.setPropertyValue( "Label", _checkBoxString +checkBoxPath );
 
             // insert the control models into the dialog model
             xNameCont.insertByName( _label2Name, label2Model );
diff --git a/scripting/java/com/sun/star/script/framework/browse/ParcelBrowseNode.java b/scripting/java/com/sun/star/script/framework/browse/ParcelBrowseNode.java
index 12be9bc..c2f966c 100644
--- a/scripting/java/com/sun/star/script/framework/browse/ParcelBrowseNode.java
+++ b/scripting/java/com/sun/star/script/framework/browse/ParcelBrowseNode.java
@@ -214,7 +214,7 @@ public class ParcelBrowseNode extends PropertySet
                 }
                 else
                 {
-                    String source = new String(provider.getScriptEditor().getTemplate().getBytes());
+                    String source = provider.getScriptEditor().getTemplate();
                     String languageName = newName + "." + provider.getScriptEditor().getExtension();
                     String language = container.getLanguage();
 
diff --git a/scripting/java/com/sun/star/script/framework/provider/PathUtils.java b/scripting/java/com/sun/star/script/framework/provider/PathUtils.java
index 307d346..48ca6c9 100644
--- a/scripting/java/com/sun/star/script/framework/provider/PathUtils.java
+++ b/scripting/java/com/sun/star/script/framework/provider/PathUtils.java
@@ -40,7 +40,7 @@ public class PathUtils {
     }
     public static String getOidForModel( XModel xModel )
     {
-        String oid = new String("");
+        String oid = "";
         if ( xModel != null )
         {
             try
diff --git a/toolkit/test/accessibility/AccessibleContextHandler.java b/toolkit/test/accessibility/AccessibleContextHandler.java
index 0177020..8409a9a 100644
--- a/toolkit/test/accessibility/AccessibleContextHandler.java
+++ b/toolkit/test/accessibility/AccessibleContextHandler.java
@@ -54,7 +54,7 @@ class AccessibleContextHandler
         if (aParent instanceof AccTreeNode)
             xContext = ((AccTreeNode)aParent).getContext();
 
-        String sChild = new String();
+        String sChild = "";
         if (xContext != null)
         {
             switch( nIndex )
diff --git a/toolkit/test/accessibility/AccessibleTextHandler.java b/toolkit/test/accessibility/AccessibleTextHandler.java
index 6d3d698..39ecbad 100644
--- a/toolkit/test/accessibility/AccessibleTextHandler.java
+++ b/toolkit/test/accessibility/AccessibleTextHandler.java
@@ -348,7 +348,7 @@ class AccessibleTextHandler extends NodeHandler
                 }
                 catch(com.sun.star.lang.IllegalArgumentException e)
                 {
-                    aPortion = new String ("");
+                    aPortion = "";
                 }
 
                 // get attributes and make node with attribute children
diff --git a/toolkit/test/accessibility/NodeFactory.java b/toolkit/test/accessibility/NodeFactory.java
index 516ab25..8c28839 100644
--- a/toolkit/test/accessibility/NodeFactory.java
+++ b/toolkit/test/accessibility/NodeFactory.java
@@ -126,7 +126,7 @@ class NodeFactory
             }
         }
         else
-            sDisplay = new String ("not accessible");
+            sDisplay = "not accessible";
 
 
         // create node, and add default handlers
diff --git a/toolkit/test/accessibility/ov/StateSetView.java b/toolkit/test/accessibility/ov/StateSetView.java
index 82a39f7..8933fb6 100644
--- a/toolkit/test/accessibility/ov/StateSetView.java
+++ b/toolkit/test/accessibility/ov/StateSetView.java
@@ -246,7 +246,7 @@ public static class StateSetSetView
         XAccessibleStateSet xStateSet = mxContext.getAccessibleStateSet();
         if (xStateSet != null)
         {
-            String sStates = new String ();
+            String sStates = "";
             short aStates[] = xStateSet.getStates();
             for (int i=0; i<aStates.length; i++)
             {
diff --git a/unotest/source/java/org/openoffice/test/tools/OfficeDocumentView.java b/unotest/source/java/org/openoffice/test/tools/OfficeDocumentView.java
index b834d46..41f51b3 100644
--- a/unotest/source/java/org/openoffice/test/tools/OfficeDocumentView.java
+++ b/unotest/source/java/org/openoffice/test/tools/OfficeDocumentView.java
@@ -81,7 +81,7 @@ public class OfficeDocumentView
                 m_orb.createInstance( "com.sun.star.util.URLTransformer" ) );
             xTransformer.parseStrict( aURL );
 
-            xReturn = xProvider.queryDispatch( aURL[0], new String( ), 0 );
+            xReturn = xProvider.queryDispatch( aURL[0], "", 0 );
         }
         return xReturn;
     }
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/TextStyle.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/TextStyle.java
index 9c79c98..83efc31 100644
--- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/TextStyle.java
+++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/TextStyle.java
@@ -588,7 +588,7 @@ public class TextStyle extends Style implements Cloneable {
         v[0] = c.getRed();
         v[1] = c.getGreen();
         v[2] = c.getBlue();
-        String colorString = new String("#");
+        String colorString = "#";
         for (int i = 0; i <= 2; i++) {
             String xx = Integer.toHexString(v[i]);
             if (xx.length() < 2)
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/BookSettings.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/BookSettings.java
index 20f1a79..fd47549 100644
--- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/BookSettings.java
+++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/BookSettings.java
@@ -38,7 +38,7 @@ public class BookSettings implements OfficeConstants {
     private org.w3c.dom.Document settings = null;
 
     private boolean hasColumnRowHeaders = true;
-    private String  activeSheet         = new String();
+    private String  activeSheet         = "";
     private ArrayList<SheetSettings>  worksheetSettings   = new ArrayList<SheetSettings>();
 
     /**
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/CellStyle.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/CellStyle.java
index 1bde03f..e437e18 100644
--- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/CellStyle.java
+++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/CellStyle.java
@@ -457,7 +457,7 @@ public class CellStyle extends Style implements Cloneable {
         v[0] = c.getRed();
         v[1] = c.getGreen();
         v[2] = c.getBlue();
-        String colorString = new String("#");
+        String colorString = "#";
         for (int i = 0; i <= 2; i++) {
             String xx = Integer.toHexString(v[i]);
             if (xx.length() < 2)
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/Format.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/Format.java
index 3bf1dc7..8be897c 100644
--- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/Format.java
+++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/Format.java
@@ -369,7 +369,7 @@ public class Format implements Cloneable {
       */
      @Override
     public String toString() {
-         return new String("Value : " + getValue() + " Category : " + getCategory());
+         return "Value : " + getValue() + " Category : " + getCategory();
      }
 
     /**
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/SxcDocumentSerializer.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/SxcDocumentSerializer.java
index c79abc3..ba060cb 100644
--- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/SxcDocumentSerializer.java
+++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/SxcDocumentSerializer.java
@@ -365,7 +365,7 @@ public abstract class SxcDocumentSerializer implements OfficeConstants,
                 repeatedRows = Integer.parseInt(repeatStr);
             }
 
-            String styleName = new String("");
+            String styleName = "";
 
             if ( rowStyle != null) {
                 styleName = rowStyle.getNodeValue();
@@ -481,7 +481,7 @@ public abstract class SxcDocumentSerializer implements OfficeConstants,
             col.setRepeated(repeatedColumns);
         }
 
-        String cellStyleName = new String("");
+        String cellStyleName = "";
 
         if(tableDefaultCellStyle!=null) {
             cellStyleName = tableDefaultCellStyle.getNodeValue();
@@ -502,7 +502,7 @@ public abstract class SxcDocumentSerializer implements OfficeConstants,
             col.setFormat(defaultFmt);
         }
 
-        String styleName = new String("");
+        String styleName = "";
 
         if(tableStyleNode!=null) {
             styleName = tableStyleNode.getNodeValue();
@@ -568,7 +568,7 @@ public abstract class SxcDocumentSerializer implements OfficeConstants,
         Node tableStyleNode =
             cellAtt.getNamedItem(ATTRIBUTE_TABLE_STYLE_NAME);
 
-        String styleName = new String("");
+        String styleName = "";
 
         if(tableStyleNode!=null) {
             styleName = tableStyleNode.getNodeValue();
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/test/ConverterInfoList.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/test/ConverterInfoList.java
index ce94213..f71dbe5 100644
--- a/xmerge/source/xmerge/java/org/openoffice/xmerge/test/ConverterInfoList.java
+++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/test/ConverterInfoList.java
@@ -66,7 +66,7 @@ public class ConverterInfoList {
         bis.close();
 
         int i              = 1;
-        String jarFileName = new String();
+        String jarFileName = "";
         jars               = new ArrayList<String>();
 
         while ((jarFileName = props.getProperty("jarname" + i)) != null) {
diff --git a/xmlsecurity/test_docs/tools/httpserv/src/httpserv/Main.java b/xmlsecurity/test_docs/tools/httpserv/src/httpserv/Main.java
index 4280fb4..6629a32 100644
--- a/xmlsecurity/test_docs/tools/httpserv/src/httpserv/Main.java
+++ b/xmlsecurity/test_docs/tools/httpserv/src/httpserv/Main.java
@@ -110,13 +110,13 @@ public class Main {
     }
 
     static void printUsage() {
-        String usage = new String(
+        String usage =
                 "Usage: \n" +
                 "java -jar httpserv [options] \n" +
                 "\n" +
                 "Options are: \n" +
                 "-h --help \t this help \n" +
-                "-a --accept port \t the port number to which this server listens \n");
+                "-a --accept port \t the port number to which this server listens \n";
         System.out.println(usage);
     }
 }
commit c552aac9f889b094caaa35c3fd9d12fe7c3fc73c
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Aug 12 15:13:30 2014 +0200

    java: use 'Byte.valueOf' instead of 'new Byte'
    
    Change-Id: Ia99765a6226317ee41ffb02a1b0dd7e6fd944a90

diff --git a/bridges/test/java_remote/PolyStructTest.java b/bridges/test/java_remote/PolyStructTest.java
index bfa0aa7..bf4fdf5 100644
--- a/bridges/test/java_remote/PolyStructTest.java
+++ b/bridges/test/java_remote/PolyStructTest.java
@@ -58,16 +58,16 @@ public final class PolyStructTest extends ComplexTestCase {
                 t.transportBoolean(new TestPolyStruct(Boolean.TRUE)).member);
 
             assertEquals(
-                new Byte((byte) 0),
+                Byte.valueOf((byte) 0),
                 t.transportByte(new TestPolyStruct()).member);
             assertEquals(
-                new Byte(Byte.MIN_VALUE),
+                Byte.valueOf(Byte.MIN_VALUE),
                 t.transportByte(
-                    new TestPolyStruct(new Byte(Byte.MIN_VALUE))).member);
+                    new TestPolyStruct(Byte.valueOf(Byte.MIN_VALUE))).member);
             assertEquals(
-                new Byte(Byte.MAX_VALUE),
+                Byte.valueOf(Byte.MAX_VALUE),
                 t.transportByte(
-                    new TestPolyStruct(new Byte(Byte.MAX_VALUE))).member);
+                    new TestPolyStruct(Byte.valueOf(Byte.MAX_VALUE))).member);
 
             assertEquals(
                 Short.valueOf((short) 0),
diff --git a/bridges/test/java_uno/any/TestAny.java b/bridges/test/java_uno/any/TestAny.java
index 861fc17..1e7cf2e 100644
--- a/bridges/test/java_uno/any/TestAny.java
+++ b/bridges/test/java_uno/any/TestAny.java
@@ -123,20 +123,20 @@ final class TestAny {
                               new CompareUnboxed());
 
         // BYTE:
-        success &= testMapAny(transport, new Byte((byte) -128),
+        success &= testMapAny(transport, Byte.valueOf((byte) -128),
                               new CompareBoxed());
-        success &= testMapAny(transport, new Byte((byte) 0),
+        success &= testMapAny(transport, Byte.valueOf((byte) 0),
                               new CompareBoxed());
-        success &= testMapAny(transport, new Byte((byte) 127),
+        success &= testMapAny(transport, Byte.valueOf((byte) 127),
                               new CompareBoxed());
         success &= testMapAny(transport,
-                              new Any(Type.BYTE, new Byte((byte) -128)),
+                              new Any(Type.BYTE, Byte.valueOf((byte) -128)),
                               new CompareUnboxed());
         success &= testMapAny(transport,
-                              new Any(Type.BYTE, new Byte((byte) 0)),
+                              new Any(Type.BYTE, Byte.valueOf((byte) 0)),
                               new CompareUnboxed());
         success &= testMapAny(transport,
-                              new Any(Type.BYTE, new Byte((byte) 127)),
+                              new Any(Type.BYTE, Byte.valueOf((byte) 127)),
                               new CompareUnboxed());
 
         // SHORT:
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
index 118738c..2c808e3 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
@@ -576,7 +576,7 @@ XMultiPropertySet
      *  value of the property is to be stored in a member variable of type int with name intProp. Then setPropertyValue is
      *  called:
      *  <pre>
-     *  set.setPropertyValue( "PropA", new Byte( (byte)111));
+     *  set.setPropertyValue( "PropA", Byte.valueOf( (byte)111));
      *  </pre>
      *  At some point setPropertyValue will call convertPropertyValue and pass in the Byte object. Since we allow
      *  that Byte values can be used with the property and know that the value is to be stored in intProp (type int)
@@ -735,7 +735,7 @@ XMultiPropertySet
         else if (cl.equals(char.class))
             retVal= new Character(AnyConverter.toChar(obj));
         else if (cl.equals(byte.class))
-            retVal= new Byte(AnyConverter.toByte(obj));
+            retVal= Byte.valueOf(AnyConverter.toByte(obj));
         else if (cl.equals(short.class))
             retVal= Short.valueOf(AnyConverter.toShort(obj));
         else if (cl.equals(int.class))
@@ -757,7 +757,7 @@ XMultiPropertySet
         else if (cl.equals(Character.class))
             retVal= new Character(AnyConverter.toChar(obj));
         else if (cl.equals(Byte.class))
-            retVal= new Byte(AnyConverter.toByte(obj));
+            retVal= Byte.valueOf(AnyConverter.toByte(obj));
         else if (cl.equals(Short.class))
             retVal= Short.valueOf(AnyConverter.toShort(obj));
         else if (cl.equals(Integer.class))
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
index fbe595f..34e5026 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
@@ -105,7 +105,7 @@ public class PropertySet_Test
             cl.setPropertyValue("PropCharA",value);
             ret= cl.getPropertyValue("PropCharA");
             r[i++]= ((Character) ret).equals(value);
-            value= new Byte((byte) 111);
+            value= Byte.valueOf((byte) 111);
             cl.setPropertyValue("PropByteA",value);
             ret= cl.getPropertyValue("PropByteA");
             r[i++]= ((Byte) ret).equals(value);
@@ -180,7 +180,7 @@ public class PropertySet_Test
             cl.setPropertyValue("PropObjectA",value);
             ret= cl.getPropertyValue("PropObjectA");
             r[i++]= ((Character) ret).equals(value);
-            value= new Byte((byte) 111);
+            value= Byte.valueOf((byte) 111);
             cl.setPropertyValue("PropObjectA",value);
             ret= cl.getPropertyValue("PropObjectA");
             r[i++]= ((Byte) ret).equals(value);
@@ -224,7 +224,7 @@ public class PropertySet_Test
             cl.setPropertyValue("PropObjectA", value);
             ret= cl.getPropertyValue("PropObjectA");
             r[i++]= ((Type) ret).equals(value);
-            cl.setPropertyValue("PropObjectA", new Any( new Type(byte.class), new Byte((byte)1)));
+            cl.setPropertyValue("PropObjectA", new Any( new Type(byte.class), Byte.valueOf((byte)1)));
             ret= cl.getPropertyValue("PropObjectA");
             r[i++]= ((Byte) ret).byteValue() == 1;
 
@@ -237,7 +237,7 @@ public class PropertySet_Test
             cl.setPropertyValue("PropAnyA",value);
             ret= cl.getPropertyValue("PropAnyA");
             r[i++]= ret instanceof Any && util.anyEquals(value, ret);
-            value= new Byte((byte) 111);
+            value= Byte.valueOf((byte) 111);
             cl.setPropertyValue("PropAnyA",value);
             ret= cl.getPropertyValue("PropAnyA");
             r[i++]= ret instanceof Any && util.anyEquals(value, ret);
@@ -291,7 +291,7 @@ public class PropertySet_Test
             cl.setPropertyValue("PropCharA",value);
             ret= cl.getPropertyValue("PropCharA");
             r[i++]= ret instanceof Character && util.anyEquals(value, ret);
-            value= new Any(new Type(byte.class), new Byte((byte) 111));
+            value= new Any(new Type(byte.class), Byte.valueOf((byte) 111));
             cl.setPropertyValue("PropByteA",value);
             ret= cl.getPropertyValue("PropByteA");
             r[i++]= ret instanceof Byte && util.anyEquals(value, ret);
@@ -346,7 +346,7 @@ public class PropertySet_Test
             cl.setPropertyValue("PropAnyA",value);
             ret= cl.getPropertyValue("PropAnyA");
             r[i++]= ret instanceof Any && util.anyEquals(value, ret);
-            value= new Any(new Type(byte.class), new Byte((byte) 111));
+            value= new Any(new Type(byte.class), Byte.valueOf((byte) 111));
             cl.setPropertyValue("PropAnyA",value);
             ret= cl.getPropertyValue("PropAnyA");
             r[i++]= ret instanceof Any && util.anyEquals(value, ret);
@@ -402,7 +402,7 @@ public class PropertySet_Test
             cl.setPropertyValue("PropCharClass",value);
             ret= cl.getPropertyValue("PropCharClass");
             r[i++]= ((Character) ret).equals(value);
-            value= new Byte((byte) 111);
+            value= Byte.valueOf((byte) 111);
             cl.setPropertyValue("PropByteClass",value);
             ret= cl.getPropertyValue("PropByteClass");
             r[i++]= ((Byte) ret).equals(value);
@@ -438,7 +438,7 @@ public class PropertySet_Test
             cl.setPropertyValue("PropCharClass",value);
             ret= cl.getPropertyValue("PropCharClass");
             r[i++]= ret instanceof Character && util.anyEquals(value, ret);
-            value= new Any(new Type(byte.class), new Byte((byte) 111));
+            value= new Any(new Type(byte.class), Byte.valueOf((byte) 111));
             cl.setPropertyValue("PropByteClass",value);
             ret= cl.getPropertyValue("PropByteClass");
             r[i++]= ret instanceof Byte && util.anyEquals(value, ret);
@@ -536,7 +536,7 @@ public class PropertySet_Test
             r[i++]= cl.anyPropA.getType().equals(new Type(void.class)) &&
                     cl.anyPropA.getObject() == null;
 
-            cl.anyPropA= new Any(new Type(byte.class),new Byte((byte) 111));
+            cl.anyPropA= new Any(new Type(byte.class),Byte.valueOf((byte) 111));
             cl.setPropertyValue("PropAnyA", null);
             r[i++]= cl.anyPropA.getType().equals(new Type(byte.class)) &&
                     cl.anyPropA.getObject() == null;
@@ -601,12 +601,12 @@ public class PropertySet_Test
             TestClass cl= new TestClass();
             Listener li= new Listener();
             cl.addPropertyChangeListener("PropByteA", li);
-            Byte val1= new Byte((byte)115);
+            Byte val1= Byte.valueOf((byte)115);
             cl.setPropertyValue("PropByteA", val1);
             r[i++]= li.nChangeCalled == 0 && li.nVetoCalled == 0;
             cl.propByteA.Attributes = PropertyAttribute.BOUND;
             cl.addPropertyChangeListener("PropByteA", li);
-            Byte val2= new Byte((byte)116);
+            Byte val2= Byte.valueOf((byte)116);
             cl.setPropertyValue("PropByteA", val2);
             r[i++]= li.nChangeCalled == 1 && li.nVetoCalled == 0;
             r[i++]= li.evt.OldValue.equals(val1) && li.evt.NewValue.equals(val2) && li.evt.Source == cl;
@@ -614,7 +614,7 @@ public class PropertySet_Test
             li.reset();
             Listener li2= new Listener();
             cl.addPropertyChangeListener("PropByteA", li2);
-            Byte val3= new Byte((byte) 117);
+            Byte val3= Byte.valueOf((byte) 117);
             cl.setPropertyValue("PropByteA", val3);
             r[i++]= li.nChangeCalled == 1 && li.nVetoCalled == 0
                     && li2.nChangeCalled == 1 && li2.nVetoCalled == 0;
@@ -624,7 +624,7 @@ public class PropertySet_Test
             li.reset();
             li2.reset();
             Listener li3= new Listener();
-            val1= new Byte((byte)118);
+            val1= Byte.valueOf((byte)118);
             cl.addPropertyChangeListener("", li3);
             cl.setPropertyValue("PropByteA", val1);
             r[i++]= li.nChangeCalled == 1 && li.nVetoCalled == 0
@@ -680,12 +680,12 @@ public class PropertySet_Test
             li2.reset();
             li3.reset();
             cl.addVetoableChangeListener("PropByteA", li);
-            val1= new Byte((byte)115);
+            val1= Byte.valueOf((byte)115);
             cl.setPropertyValue("PropByteA", val1);
             r[i++]= li.nChangeCalled == 0 && li.nVetoCalled == 0;
             cl.propByteA.Attributes = PropertyAttribute.CONSTRAINED;
             cl.addVetoableChangeListener("PropByteA", li);
-            val2= new Byte((byte)116);
+            val2= Byte.valueOf((byte)116);
             li.reset();
             cl.setPropertyValue("PropByteA", val2);
             r[i++]= li.nChangeCalled == 0 && li.nVetoCalled == 1;
@@ -695,7 +695,7 @@ public class PropertySet_Test
             li2.reset();
             li3.reset();
             cl.addVetoableChangeListener("PropByteA", li2);
-            val3= new Byte((byte) 117);
+            val3= Byte.valueOf((byte) 117);
             cl.setPropertyValue("PropByteA", val3);
             r[i++]= li.nChangeCalled == 0 && li.nVetoCalled == 1
                     && li2.nChangeCalled == 0 && li2.nVetoCalled == 1;
@@ -705,7 +705,7 @@ public class PropertySet_Test
             li.reset();
             li2.reset();
             li3.reset();
-            val1= new Byte((byte)118);
+            val1= Byte.valueOf((byte)118);
             cl.addVetoableChangeListener("", li3);
             cl.setPropertyValue("PropByteA", val1);
             r[i++]= li.nChangeCalled == 0 && li.nVetoCalled == 1
@@ -904,7 +904,7 @@ public class PropertySet_Test
             String[] arNames= new String[] {"PropCharA","PropIntClass","PropObjectA"};
             Character aChar= new Character('A');
             Integer aInt= Integer.valueOf(111);
-            Byte aByte= new Byte((byte)11);
+            Byte aByte= Byte.valueOf((byte)11);
             Object[] values= new Object[]{aChar, aInt, aByte};
             cl.setPropertyValues(arNames, values);
             r[i++]= cl.charPropA == 'A' && cl.intClassProp.intValue() == 111 && ((Byte)cl.objectPropA).byteValue() == 11;
@@ -937,7 +937,7 @@ public class PropertySet_Test
         try {
             cl.charPropA= 'A';
             cl.intClassProp= Integer.valueOf(111);
-            cl.objectPropA= new Byte((byte)11);
+            cl.objectPropA= Byte.valueOf((byte)11);
             Object[] values= cl.getPropertyValues(new String[] {"PropCharA","PropIntClass","PropObjectA"});
 
             r[i++]= ((Character) values[0]).charValue() == 'A' && ((Integer) values[1]).intValue() == 111
@@ -1210,7 +1210,7 @@ class TestClass extends PropertySet
             charPropA= 'B';
             r[i++]= convertPropertyValue(propCharA, outNewVal, outOldVal, value);
             r[i++]= outNewVal[0] instanceof Character && outNewVal[0].equals(value) && outOldVal[0].equals(new Character('B'));
-            value= new Byte((byte) 111);
+            value= Byte.valueOf((byte) 111);
             r[i++]= convertPropertyValue(propByteA, outNewVal, outOldVal, value);
             r[i++]= outNewVal[0] instanceof Byte && outNewVal[0].equals(value);
             value= Short.valueOf((short) 112);
@@ -1321,7 +1321,7 @@ class TestClass extends PropertySet
             value= new Character('A');
             r[i++]= convertPropertyValue(propCharClass, outNewVal, outOldVal, value);
             r[i++]= outNewVal[0] instanceof Character && outNewVal[0].equals(value);
-            value= new Byte((byte) 111);
+            value= Byte.valueOf((byte) 111);
             r[i++]= convertPropertyValue(propByteClass, outNewVal, outOldVal, value);
             r[i++]= outNewVal[0] instanceof Byte && outNewVal[0].equals(value);
             value= Short.valueOf((short) 112);
@@ -1362,7 +1362,7 @@ class TestClass extends PropertySet
             value= new Character('A');
             setPropertyValueNoBroadcast(propCharA, value);
             r[i++]= charPropA == ((Character) value).charValue();
-            value= new Byte((byte) 111);
+            value= Byte.valueOf((byte) 111);
             setPropertyValueNoBroadcast(propByteA, value);
             r[i++]= bytePropA == ((Byte)value).byteValue();
             value= Short.valueOf((short) 112);
diff --git a/jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal.java b/jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal.java
index 9f1eb84..b567c9e 100644
--- a/jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal.java
+++ b/jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal.java
@@ -210,7 +210,7 @@ final class Unmarshal {
 
     private Byte readByteValue() {
         try {
-            return new Byte(input.readByte());
+            return Byte.valueOf(input.readByte());
         } catch (IOException e) {
             throw new RuntimeException(e.toString());
         }
diff --git a/jurt/test/com/sun/star/lib/uno/protocols/urp/Marshaling_Test.java b/jurt/test/com/sun/star/lib/uno/protocols/urp/Marshaling_Test.java
index ef4a4da..39f8e8b 100644
--- a/jurt/test/com/sun/star/lib/uno/protocols/urp/Marshaling_Test.java
+++ b/jurt/test/com/sun/star/lib/uno/protocols/urp/Marshaling_Test.java
@@ -44,7 +44,7 @@ public final class Marshaling_Test {
             new com.sun.star.uno.RuntimeException("testRuntimeException"),
             new com.sun.star.uno.Exception("testException"),
             Boolean.TRUE,
-            new Byte((byte)47),
+            Byte.valueOf((byte)47),
             new Character('k'),
             new Double(0.12345),
             TestEnum.B,
diff --git a/jurt/test/com/sun/star/uno/AnyConverter_Test.java b/jurt/test/com/sun/star/uno/AnyConverter_Test.java
index b8be66d..0900eea 100644
--- a/jurt/test/com/sun/star/uno/AnyConverter_Test.java
+++ b/jurt/test/com/sun/star/uno/AnyConverter_Test.java
@@ -39,7 +39,7 @@ public final class AnyConverter_Test {
 
     Boolean aBool= Boolean.TRUE;
     Character aChar= new Character('A');
-    Byte aByte= new Byte((byte) 111);
+    Byte aByte= Byte.valueOf((byte) 111);
     Short aShort= Short.valueOf((short) 11111);
     Integer aInt= Integer.valueOf( 1111111);
     Long aLong= Long.valueOf( 0xffffffff);
diff --git a/qadevOOo/runner/util/ValueChanger.java b/qadevOOo/runner/util/ValueChanger.java
index f4b57aa..adba18d 100644
--- a/qadevOOo/runner/util/ValueChanger.java
+++ b/qadevOOo/runner/util/ValueChanger.java
@@ -70,7 +70,7 @@ public class ValueChanger {
 
    if (oldValue instanceof Byte) {
      byte oldbyte = ((Byte) oldValue).byteValue();
-     newValue = new Byte((byte) (oldbyte + 1));
+     newValue = Byte.valueOf((byte) (oldbyte + 1));
    } else
 
    if (oldValue instanceof Float) {
diff --git a/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java b/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java
index fe43065..875b21c 100644
--- a/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java
+++ b/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java
@@ -206,7 +206,7 @@ public class MyPersistObject implements XPersistObject, XTypeProvider,
      */
     public Object getPropertyValue(String property) {
         if ( property.equals(props[0].Name))
-            return new Byte(by);
+            return Byte.valueOf(by);
         if ( property.equals(props[1].Name))
             return Integer.valueOf(i);
         if ( property.equals(props[2].Name))
diff --git a/qadevOOo/tests/java/ifc/style/_CharacterProperties.java b/qadevOOo/tests/java/ifc/style/_CharacterProperties.java
index 7a53627..27270b7 100644
--- a/qadevOOo/tests/java/ifc/style/_CharacterProperties.java
+++ b/qadevOOo/tests/java/ifc/style/_CharacterProperties.java
@@ -313,8 +313,8 @@ public class _CharacterProperties extends MultiPropertyTest {
     * so ist must be treated special
     */
     public void _CharEscapementHeight() {
-        Byte aByte = new Byte((byte)75);
-        Byte max = new Byte((byte)100);
+        Byte aByte = Byte.valueOf((byte)75);
+        Byte max = Byte.valueOf((byte)100);
         testProperty("CharEscapementHeight", aByte, max) ;
     }
 
diff --git a/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java b/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java
index 4bdc611..e1a2c68 100644
--- a/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java
+++ b/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java
@@ -621,7 +621,7 @@ public class ODatabaseForm extends TestCase {
                 values must be added here as relation. */
         params.add("SAU99") ;
         params.add(Boolean.FALSE) ;
-        params.add(new Byte((byte) 123)) ;
+        params.add(Byte.valueOf((byte) 123)) ;
         params.add(Short.valueOf((short) 234)) ;
         params.add(Integer.valueOf(12345)) ;
         params.add(Long.valueOf(23456)) ;
diff --git a/qadevOOo/tests/java/mod/_stm/DataInputStream.java b/qadevOOo/tests/java/mod/_stm/DataInputStream.java
index fae8af2..1922f1e 100644
--- a/qadevOOo/tests/java/mod/_stm/DataInputStream.java
+++ b/qadevOOo/tests/java/mod/_stm/DataInputStream.java
@@ -129,7 +129,7 @@ public class DataInputStream extends TestCase {
         // all data types for writing to an XDataInputStream
         ArrayList<Object> data = new ArrayList<Object>();
         data.add(Boolean.TRUE) ;
-        data.add(new Byte((byte)123)) ;
+        data.add(Byte.valueOf((byte)123)) ;
         data.add(new Character((char)1234)) ;
         data.add(Short.valueOf((short)1234)) ;
         data.add(Integer.valueOf(123456)) ;
diff --git a/qadevOOo/tests/java/mod/_stm/DataOutputStream.java b/qadevOOo/tests/java/mod/_stm/DataOutputStream.java
index 3ffd184..281d530 100644
--- a/qadevOOo/tests/java/mod/_stm/DataOutputStream.java
+++ b/qadevOOo/tests/java/mod/_stm/DataOutputStream.java
@@ -106,7 +106,7 @@ public class DataOutputStream extends TestCase {
         // all data types for writing to an XDataInputStream
         ArrayList<Object> data = new ArrayList<Object>() ;
         data.add(Boolean.TRUE) ;
-        data.add(new Byte((byte)123)) ;
+        data.add(Byte.valueOf((byte)123)) ;
         data.add(new Character((char)1234)) ;
         data.add(Short.valueOf((short)1234)) ;
         data.add(Integer.valueOf(123456)) ;
diff --git a/qadevOOo/tests/java/mod/_stm/MarkableOutputStream.java b/qadevOOo/tests/java/mod/_stm/MarkableOutputStream.java
index 6ec2d54..c58a61c 100644
--- a/qadevOOo/tests/java/mod/_stm/MarkableOutputStream.java
+++ b/qadevOOo/tests/java/mod/_stm/MarkableOutputStream.java
@@ -129,7 +129,7 @@ public class MarkableOutputStream extends TestCase {
         // all data types for writing to an XDataInputStream
         ArrayList<Object> data = new ArrayList<Object>() ;
         data.add(Boolean.TRUE) ;
-        data.add(new Byte((byte)123)) ;
+        data.add(Byte.valueOf((byte)123)) ;
         data.add(new Character((char)1234)) ;
         data.add(Short.valueOf((short)1234)) ;
         data.add(Integer.valueOf(123456)) ;
diff --git a/qadevOOo/tests/java/mod/_stm/ObjectInputStream.java b/qadevOOo/tests/java/mod/_stm/ObjectInputStream.java
index 3664491..7d85642 100644
--- a/qadevOOo/tests/java/mod/_stm/ObjectInputStream.java
+++ b/qadevOOo/tests/java/mod/_stm/ObjectInputStream.java
@@ -243,7 +243,7 @@ public class ObjectInputStream extends TestCase {
         // all data types for writing to an XDataInputStream
         ArrayList<Object> data = new ArrayList<Object>() ;
         data.add(Boolean.TRUE) ;
-        data.add(new Byte((byte)123)) ;
+        data.add(Byte.valueOf((byte)123)) ;
         data.add(new Character((char)1234)) ;
         data.add(Short.valueOf((short)1234)) ;
         data.add(Integer.valueOf(123456)) ;
diff --git a/qadevOOo/tests/java/mod/_stm/ObjectOutputStream.java b/qadevOOo/tests/java/mod/_stm/ObjectOutputStream.java
index f8b84c1..4cc317b 100644
--- a/qadevOOo/tests/java/mod/_stm/ObjectOutputStream.java
+++ b/qadevOOo/tests/java/mod/_stm/ObjectOutputStream.java
@@ -232,7 +232,7 @@ public class ObjectOutputStream extends TestCase {
         // all data types for writing to an XDataInputStream
         ArrayList<Object> data = new ArrayList<Object>() ;
         data.add(Boolean.TRUE) ;
-        data.add(new Byte((byte)123)) ;
+        data.add(Byte.valueOf((byte)123)) ;
         data.add(new Character((char)1234)) ;
         data.add(Short.valueOf((short)1234)) ;
         data.add(Integer.valueOf(123456)) ;
diff --git a/qadevOOo/tests/java/mod/_streams/uno/DataInputStream.java b/qadevOOo/tests/java/mod/_streams/uno/DataInputStream.java
index b24f50d..289bbed 100644
--- a/qadevOOo/tests/java/mod/_streams/uno/DataInputStream.java
+++ b/qadevOOo/tests/java/mod/_streams/uno/DataInputStream.java
@@ -126,7 +126,7 @@ public class DataInputStream extends TestCase {
         // all data types for writing to an XDataInputStream
         ArrayList<Object> data = new ArrayList<Object>() ;
         data.add(Boolean.TRUE) ;
-        data.add(new Byte((byte)123)) ;
+        data.add(Byte.valueOf((byte)123)) ;
         data.add(new Character((char)1234)) ;
         data.add(Short.valueOf((short)1234)) ;
         data.add(Integer.valueOf(123456)) ;
diff --git a/qadevOOo/tests/java/mod/_streams/uno/DataOutputStream.java b/qadevOOo/tests/java/mod/_streams/uno/DataOutputStream.java
index 8144e67..a6117d3 100644
--- a/qadevOOo/tests/java/mod/_streams/uno/DataOutputStream.java
+++ b/qadevOOo/tests/java/mod/_streams/uno/DataOutputStream.java
@@ -103,7 +103,7 @@ public class DataOutputStream extends TestCase {
         // all data types for writing to an XDataInputStream
         ArrayList<Object> data = new ArrayList<Object>() ;
         data.add(Boolean.TRUE) ;
-        data.add(new Byte((byte)123)) ;
+        data.add(Byte.valueOf((byte)123)) ;
         data.add(new Character((char)1234)) ;
         data.add(Short.valueOf((short)1234)) ;
         data.add(Integer.valueOf(123456)) ;
diff --git a/qadevOOo/tests/java/mod/_streams/uno/MarkableOutputStream.java b/qadevOOo/tests/java/mod/_streams/uno/MarkableOutputStream.java
index a90b0ae..529f345 100644
--- a/qadevOOo/tests/java/mod/_streams/uno/MarkableOutputStream.java
+++ b/qadevOOo/tests/java/mod/_streams/uno/MarkableOutputStream.java
@@ -126,7 +126,7 @@ public class MarkableOutputStream extends TestCase {
         // all data types for writing to an XDataInputStream
         ArrayList<Object> data = new ArrayList<Object>() ;
         data.add(Boolean.TRUE) ;
-        data.add(new Byte((byte)123)) ;
+        data.add(Byte.valueOf((byte)123)) ;
         data.add(new Character((char)1234)) ;
         data.add(Short.valueOf((short)1234)) ;
         data.add(Integer.valueOf(123456)) ;
diff --git a/qadevOOo/tests/java/mod/_streams/uno/ObjectInputStream.java b/qadevOOo/tests/java/mod/_streams/uno/ObjectInputStream.java
index 6c85165..6647b6c 100644
--- a/qadevOOo/tests/java/mod/_streams/uno/ObjectInputStream.java
+++ b/qadevOOo/tests/java/mod/_streams/uno/ObjectInputStream.java
@@ -240,7 +240,7 @@ public class ObjectInputStream extends TestCase {
         // all data types for writing to an XDataInputStream
         ArrayList<Object> data = new ArrayList<Object>() ;
         data.add(Boolean.TRUE) ;
-        data.add(new Byte((byte)123)) ;
+        data.add(Byte.valueOf((byte)123)) ;
         data.add(new Character((char)1234)) ;
         data.add(Short.valueOf((short)1234)) ;
         data.add(Integer.valueOf(123456)) ;
diff --git a/qadevOOo/tests/java/mod/_streams/uno/ObjectOutputStream.java b/qadevOOo/tests/java/mod/_streams/uno/ObjectOutputStream.java
index fbe7a0d..3041744 100644
--- a/qadevOOo/tests/java/mod/_streams/uno/ObjectOutputStream.java
+++ b/qadevOOo/tests/java/mod/_streams/uno/ObjectOutputStream.java
@@ -229,7 +229,7 @@ public class ObjectOutputStream extends TestCase {
         // all data types for writing to an XDataInputStream
         ArrayList<Object> data = new ArrayList<Object>() ;
         data.add(Boolean.TRUE) ;
-        data.add(new Byte((byte)123)) ;
+        data.add(Byte.valueOf((byte)123)) ;
         data.add(new Character((char)1234)) ;
         data.add(Short.valueOf((short)1234)) ;
         data.add(Integer.valueOf(123456)) ;
diff --git a/ridljar/com/sun/star/uno/UnoRuntime.java b/ridljar/com/sun/star/uno/UnoRuntime.java
index 98d6959..5576c2c 100644
--- a/ridljar/com/sun/star/uno/UnoRuntime.java
+++ b/ridljar/com/sun/star/uno/UnoRuntime.java
@@ -306,7 +306,7 @@ public class UnoRuntime {
         case TypeClass.BOOLEAN_value:
             return Boolean.FALSE;
         case TypeClass.BYTE_value:
-            return new Byte((byte) 0);
+            return Byte.valueOf((byte) 0);
         case TypeClass.SHORT_value:
         case TypeClass.UNSIGNED_SHORT_value:
             return Short.valueOf((short) 0);
diff --git a/testtools/com/sun/star/comp/bridge/TestComponent.java b/testtools/com/sun/star/comp/bridge/TestComponent.java
index 220dfc4..9876c18 100644
--- a/testtools/com/sun/star/comp/bridge/TestComponent.java
+++ b/testtools/com/sun/star/comp/bridge/TestComponent.java
@@ -1165,7 +1165,7 @@ public class TestComponent {
                 null);
             Constructors.create2(context, new Object[] {
                 Boolean.TRUE,
-                new Byte(Byte.MIN_VALUE),
+                Byte.valueOf(Byte.MIN_VALUE),
                 Short.valueOf(Short.MIN_VALUE),
                 new Any(Type.UNSIGNED_SHORT, Short.valueOf((short) -1)),
                 Integer.valueOf(Integer.MIN_VALUE),
@@ -1223,7 +1223,7 @@ public class TestComponent {
                 new TestPolyStruct(Type.LONG),
                 new TestPolyStruct(new Any(Type.BOOLEAN, Boolean.TRUE)),
                 new TestPolyStruct(Boolean.TRUE),
-                new TestPolyStruct(new Byte(Byte.MIN_VALUE)),
+                new TestPolyStruct(Byte.valueOf(Byte.MIN_VALUE)),
                 new TestPolyStruct(Short.valueOf(Short.MIN_VALUE)),
                 new TestPolyStruct(Integer.valueOf(Integer.MIN_VALUE)),
                 new TestPolyStruct(Long.valueOf(Long.MIN_VALUE)),
diff --git a/wizards/com/sun/star/wizards/common/NumericalHelper.java b/wizards/com/sun/star/wizards/common/NumericalHelper.java
index ba555ff..dd1c731 100644
--- a/wizards/com/sun/star/wizards/common/NumericalHelper.java
+++ b/wizards/com/sun/star/wizards/common/NumericalHelper.java
@@ -249,7 +249,7 @@ public class NumericalHelper
                 break;
             case TypeClass.BYTE_value:
                 aTypeObject.iType = BYTE_TYPE;
-                aTypeObject.aValue = new Byte(AnyConverter.toByte(aValue));
+                aTypeObject.aValue = Byte.valueOf(AnyConverter.toByte(aValue));
                 break;
             case TypeClass.SHORT_value:
                 aTypeObject.iType = SHORT_TYPE;
commit 0764292c5dcb7daa62e9adeb1ac9af1dbe14066f
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Aug 12 15:12:27 2014 +0200

    java: use 'Short.valueOf' instead of 'new Short'
    
    Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219

diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java
index 1f3612f..9bbf6ad0 100644
--- a/bean/com/sun/star/comp/beans/OOoBean.java
+++ b/bean/com/sun/star/comp/beans/OOoBean.java
@@ -595,7 +595,7 @@ public class OOoBean
                     com.sun.star.beans.PropertyValue aArgs[] =
                         addArgument( aArguments, new com.sun.star.beans.PropertyValue(
                             "MacroExecutionMode", -1,
-                            new Short( com.sun.star.document.MacroExecMode.USE_CONFIG ),
+                            Short.valueOf( com.sun.star.document.MacroExecMode.USE_CONFIG ),
                             com.sun.star.beans.PropertyState.DIRECT_VALUE ) );
 
                     com.sun.star.lang.XComponent xComponent = xLoader.loadComponentFromURL(
diff --git a/bridges/test/java_remote/PolyStructTest.java b/bridges/test/java_remote/PolyStructTest.java
index affb828..bfa0aa7 100644
--- a/bridges/test/java_remote/PolyStructTest.java
+++ b/bridges/test/java_remote/PolyStructTest.java
@@ -70,16 +70,16 @@ public final class PolyStructTest extends ComplexTestCase {
                     new TestPolyStruct(new Byte(Byte.MAX_VALUE))).member);
 
             assertEquals(
-                new Short((short) 0),
+                Short.valueOf((short) 0),
                 t.transportShort(new TestPolyStruct()).member);
             assertEquals(
-                new Short(Short.MIN_VALUE),
+                Short.valueOf(Short.MIN_VALUE),
                 t.transportShort(
-                    new TestPolyStruct(new Short(Short.MIN_VALUE))).member);
+                    new TestPolyStruct(Short.valueOf(Short.MIN_VALUE))).member);
             assertEquals(
-                new Short(Short.MAX_VALUE),
+                Short.valueOf(Short.MAX_VALUE),
                 t.transportShort(
-                    new TestPolyStruct(new Short(Short.MAX_VALUE))).member);
+                    new TestPolyStruct(Short.valueOf(Short.MAX_VALUE))).member);
 
             assertEquals(
                 Integer.valueOf(0), t.transportLong(new TestPolyStruct()).member);
diff --git a/bridges/test/java_uno/any/TestAny.java b/bridges/test/java_uno/any/TestAny.java
index 7e1d0dc..861fc17 100644
--- a/bridges/test/java_uno/any/TestAny.java
+++ b/bridges/test/java_uno/any/TestAny.java
@@ -140,31 +140,31 @@ final class TestAny {
                               new CompareUnboxed());
 
         // SHORT:
-        success &= testMapAny(transport, new Short((short) -32768),
+        success &= testMapAny(transport, Short.valueOf((short) -32768),

... etc. - the rest is truncated


More information about the Libreoffice-commits mailing list