diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-05 12:15:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-08 09:48:18 +0200 |
commit | b58c053fed3c7e2e1e6a4195254e639976a3a809 (patch) | |
tree | 9a7b7f6ed06ee9dc53b6b501112a1fe520e4fccb | |
parent | d07539ea5e7c2d99e9cc58a00726ecebe56cf018 (diff) |
java: remove unnecessary semi-colons
Change-Id: Ibeeefc6e6ee8f7bed97a02f569f239ff035d38c4
49 files changed, 57 insertions, 57 deletions
diff --git a/bean/com/sun/star/beans/LocalOfficeWindow.java b/bean/com/sun/star/beans/LocalOfficeWindow.java index 22bb02f3d183..8ea7ad6a2eac 100644 --- a/bean/com/sun/star/beans/LocalOfficeWindow.java +++ b/bean/com/sun/star/beans/LocalOfficeWindow.java @@ -294,6 +294,6 @@ public class LocalOfficeWindow } } } - }; + } } diff --git a/bean/com/sun/star/comp/beans/Frame.java b/bean/com/sun/star/comp/beans/Frame.java index 62affe330db1..59ccf2613245 100644 --- a/bean/com/sun/star/comp/beans/Frame.java +++ b/bean/com/sun/star/comp/beans/Frame.java @@ -167,5 +167,5 @@ public class Frame { xDispatchProviderInterception.releaseDispatchProviderInterceptor( xInterceptor ); } -}; +} diff --git a/bean/com/sun/star/comp/beans/HasConnectionException.java b/bean/com/sun/star/comp/beans/HasConnectionException.java index b40ab277e241..2894659492ae 100644 --- a/bean/com/sun/star/comp/beans/HasConnectionException.java +++ b/bean/com/sun/star/comp/beans/HasConnectionException.java @@ -26,6 +26,6 @@ package com.sun.star.comp.beans; */ public class HasConnectionException extends Exception { -}; +} diff --git a/bean/com/sun/star/comp/beans/InvalidArgumentException.java b/bean/com/sun/star/comp/beans/InvalidArgumentException.java index da719850f4a1..cfb288f44b9b 100644 --- a/bean/com/sun/star/comp/beans/InvalidArgumentException.java +++ b/bean/com/sun/star/comp/beans/InvalidArgumentException.java @@ -24,6 +24,6 @@ package com.sun.star.comp.beans; */ public class InvalidArgumentException extends Exception { -}; +} diff --git a/bean/com/sun/star/comp/beans/NoConnectionException.java b/bean/com/sun/star/comp/beans/NoConnectionException.java index 42330ed74e58..a60ceddd137e 100644 --- a/bean/com/sun/star/comp/beans/NoConnectionException.java +++ b/bean/com/sun/star/comp/beans/NoConnectionException.java @@ -26,6 +26,6 @@ package com.sun.star.comp.beans; */ public class NoConnectionException extends Exception { -}; +} diff --git a/bean/com/sun/star/comp/beans/NoDocumentException.java b/bean/com/sun/star/comp/beans/NoDocumentException.java index 805961738e33..f3abb20bffd9 100644 --- a/bean/com/sun/star/comp/beans/NoDocumentException.java +++ b/bean/com/sun/star/comp/beans/NoDocumentException.java @@ -24,6 +24,6 @@ package com.sun.star.comp.beans; */ public class NoDocumentException extends Exception { -}; +} diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java index 7935c269d0fc..bc16aea5186e 100644 --- a/bean/com/sun/star/comp/beans/OOoBean.java +++ b/bean/com/sun/star/comp/beans/OOoBean.java @@ -1399,13 +1399,13 @@ xLayoutManager.showElement("private:resource/menubar/menubar"); try { iConnection.removeEventListener( this ); } - catch ( Throwable aExc ) {}; + catch ( Throwable aExc ) {} // do not listen on a terminating OOo anymore try { getOOoDesktop().removeTerminateListener( this ); } - catch ( Throwable aExc ) {}; + catch ( Throwable aExc ) {} // stop thread this.interrupt(); diff --git a/bean/com/sun/star/comp/beans/OfficeDocument.java b/bean/com/sun/star/comp/beans/OfficeDocument.java index 8986d2b1a213..a84689901f5c 100644 --- a/bean/com/sun/star/comp/beans/OfficeDocument.java +++ b/bean/com/sun/star/comp/beans/OfficeDocument.java @@ -208,7 +208,7 @@ public class OfficeDocument extends Wrapper xStorable.storeToURL( aURL, aArguments ); } -}; +} diff --git a/bean/com/sun/star/comp/beans/SystemWindowException.java b/bean/com/sun/star/comp/beans/SystemWindowException.java index ef8d8a8a4cb5..3ad81a071181 100644 --- a/bean/com/sun/star/comp/beans/SystemWindowException.java +++ b/bean/com/sun/star/comp/beans/SystemWindowException.java @@ -27,6 +27,6 @@ package com.sun.star.comp.beans; */ public class SystemWindowException extends Exception { -}; +} diff --git a/bean/com/sun/star/comp/beans/Wrapper.java b/bean/com/sun/star/comp/beans/Wrapper.java index 46d186a49e36..837601842e48 100644 --- a/bean/com/sun/star/comp/beans/Wrapper.java +++ b/bean/com/sun/star/comp/beans/Wrapper.java @@ -92,6 +92,6 @@ class Wrapper { xComponent.removeEventListener( xListener ); } -}; +} diff --git a/bridges/test/java_uno/equals/TestEquals.java b/bridges/test/java_uno/equals/TestEquals.java index abfe00882ce0..4775f2c9695a 100644 --- a/bridges/test/java_uno/equals/TestEquals.java +++ b/bridges/test/java_uno/equals/TestEquals.java @@ -1253,7 +1253,7 @@ public final class TestEquals { } catch (Exception e) { e.printStackTrace(System.err); } - }; + } private /*static*/ boolean test( String message, boolean condition) diff --git a/dbaccess/qa/complex/dbaccess/DatabaseDocument.java b/dbaccess/qa/complex/dbaccess/DatabaseDocument.java index b0aa9f9b2abc..c6b12df2e966 100644 --- a/dbaccess/qa/complex/dbaccess/DatabaseDocument.java +++ b/dbaccess/qa/complex/dbaccess/DatabaseDocument.java @@ -130,7 +130,7 @@ public class DatabaseDocument extends TestCase implements com.sun.star.document. { return new byte[0]; } - }; + } private static String getCallbackComponentServiceName() @@ -198,7 +198,7 @@ public class DatabaseDocument extends TestCase implements com.sun.star.document. { m_eventListeners.remove(_listener); } - }; + } private class MacroExecutionApprove implements XInteractionHandler @@ -242,7 +242,7 @@ public class DatabaseDocument extends TestCase implements com.sun.star.document. } } } - }; + } diff --git a/extensions/qa/integration/extensions/ConsoleWait.java b/extensions/qa/integration/extensions/ConsoleWait.java index 454bd535c635..d9eb5dcb2d17 100644 --- a/extensions/qa/integration/extensions/ConsoleWait.java +++ b/extensions/qa/integration/extensions/ConsoleWait.java @@ -64,7 +64,7 @@ public class ConsoleWait implements com.sun.star.lang.XEventListener System.err.println( e ); } } - }; + } /** creates a ConsoleWait instance * @param _disposable diff --git a/forms/qa/complex/forms/CheckOGroupBoxModel.java b/forms/qa/complex/forms/CheckOGroupBoxModel.java index 8e0cea8a9655..e20a394d252c 100644 --- a/forms/qa/complex/forms/CheckOGroupBoxModel.java +++ b/forms/qa/complex/forms/CheckOGroupBoxModel.java @@ -183,7 +183,7 @@ public class CheckOGroupBoxModel { propertiesChanged = false; } - }; + } private XMultiServiceFactory getMSF() { diff --git a/forms/qa/integration/forms/DocumentHelper.java b/forms/qa/integration/forms/DocumentHelper.java index a5a44be9bb41..1be009962751 100644 --- a/forms/qa/integration/forms/DocumentHelper.java +++ b/forms/qa/integration/forms/DocumentHelper.java @@ -391,5 +391,5 @@ public class DocumentHelper m_documentComponent ); return (XInterface) xORB.createInstanceWithArguments( serviceSpecifier, arguments ); } -}; +} diff --git a/forms/qa/integration/forms/DocumentType.java b/forms/qa/integration/forms/DocumentType.java index 84c11ad31d59..94e2fa4e54ae 100644 --- a/forms/qa/integration/forms/DocumentType.java +++ b/forms/qa/integration/forms/DocumentType.java @@ -48,5 +48,5 @@ public class DocumentType extends com.sun.star.uno.Enum default: return UNKNOWN; } } -}; +} diff --git a/forms/qa/integration/forms/DocumentViewHelper.java b/forms/qa/integration/forms/DocumentViewHelper.java index 76a03d0e16a2..59b7fa02ec60 100644 --- a/forms/qa/integration/forms/DocumentViewHelper.java +++ b/forms/qa/integration/forms/DocumentViewHelper.java @@ -244,5 +244,5 @@ public class DocumentViewHelper // So you could easily have a document where the first control model is bound to a shape which // has a greater ordinate than any other control model. } -}; +} diff --git a/forms/qa/integration/forms/WaitForInput.java b/forms/qa/integration/forms/WaitForInput.java index d1cd11cec833..1559575b4093 100644 --- a/forms/qa/integration/forms/WaitForInput.java +++ b/forms/qa/integration/forms/WaitForInput.java @@ -53,5 +53,5 @@ class WaitForInput extends java.lang.Thread System.err.println( e ); } } -}; +} diff --git a/forms/qa/integration/forms/dbfTools.java b/forms/qa/integration/forms/dbfTools.java index 1c0295899df7..0d9a61e0881a 100644 --- a/forms/qa/integration/forms/dbfTools.java +++ b/forms/qa/integration/forms/dbfTools.java @@ -70,4 +70,4 @@ class dbfTools XChild xAsChild = UnoRuntime.queryInterface( XChild.class, aComponent ); return UnoRuntime.queryInterface( aInterfaceClass, xAsChild.getParent() ); } -}; +} diff --git a/framework/qa/complex/XUserInputInterception/EventTest.java b/framework/qa/complex/XUserInputInterception/EventTest.java index aef6fca6b4df..c71c3df9a33e 100644 --- a/framework/qa/complex/XUserInputInterception/EventTest.java +++ b/framework/qa/complex/XUserInputInterception/EventTest.java @@ -415,7 +415,7 @@ public class EventTest { public void disposing( EventObject oEvent ){ System.out.println("XMouseClickHandler: disposing-Event"); } - }; + } /** * To check the events this class is a thread which click a mouse button and diff --git a/framework/qa/complex/imageManager/_XComponent.java b/framework/qa/complex/imageManager/_XComponent.java index b6719a9e7aaa..3f1445e72b44 100644 --- a/framework/qa/complex/imageManager/_XComponent.java +++ b/framework/qa/complex/imageManager/_XComponent.java @@ -59,7 +59,7 @@ public class _XComponent { Loutput[number] = Thread.currentThread() + " is DISPOSING " + message + this; listenerDisposed[number] = true; } - }; + } XEventListener listener1 = new MyEventListener(0, "EV1"); XEventListener listener2 = new MyEventListener(1, "EV2"); diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/EvalElement.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/EvalElement.java index 82e4073ee4e8..1a5d2523099c 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/EvalElement.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/EvalElement.java @@ -42,7 +42,7 @@ public class EvalElement { */ public BasicBound targetBound = new BasicBound(); - public EvalElement() {}; + public EvalElement() {} public boolean isOptType() { return ((targetBound.minValue==BasicBound.MINDOUBLE&&targetBound.maxValue==BasicBound.MINDOUBLE)|| diff --git a/odk/examples/DevelopersGuide/Config/ConfigExamples.java b/odk/examples/DevelopersGuide/Config/ConfigExamples.java index 37debea990ff..d7c5792176e0 100644 --- a/odk/examples/DevelopersGuide/Config/ConfigExamples.java +++ b/odk/examples/DevelopersGuide/Config/ConfigExamples.java @@ -371,7 +371,7 @@ public class ConfigExamples aBuffer.append(" ]"); return aBuffer.toString(); } - }; + } /// This method reads information about grid settings protected GridOptions readGridConfiguration() @@ -440,7 +440,7 @@ public class ConfigExamples public abstract void processValueElement( String sPath_, Object aValue_ ); /// process a structural item public abstract void processStructuralElement( String sPath_, XInterface xElement_); - }; + } /// Internal method to recursively browse a structural element in preorder public void browseElementRecursively( XInterface xElement, IConfigurationProcessor aProcessor ) diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java index 451b8bc852ee..da90531248b2 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java @@ -355,7 +355,7 @@ public class LinguisticExamples System.out.println("Listener called"); } - }; + } } diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java index 63c27185c4e6..7025fdd7d648 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java @@ -149,5 +149,5 @@ public class OneInstanceFactory implements { return aSupportedSvcNames; } -}; +} diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java index 98f7e27e259e..b304bedc920a 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java @@ -190,5 +190,5 @@ public class PropChgHelper implements } return bRes; } -}; +} diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Hyph.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Hyph.java index 95047d436bee..a8a3e2375e80 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Hyph.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Hyph.java @@ -74,5 +74,5 @@ public class PropChgHelper_Hyph extends PropChgHelper } } } -}; +} diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Spell.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Spell.java index cf1aef3d0f33..e87df4ad26f1 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Spell.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Spell.java @@ -98,5 +98,5 @@ public class PropChgHelper_Spell extends PropChgHelper } } } -}; +} diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java index f7f156feed98..359488231177 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java @@ -84,7 +84,7 @@ public class SampleHyphenator extends ComponentBase implements "HyphMinWordLength" }; aPropChgHelper = new PropChgHelper_Hyph( this, aProps ); - aEvtListeners = new ArrayList<Object>();; + aEvtListeners = new ArrayList<Object>(); bDisposing = false; } diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java index 47405dd38a89..039b67f89f09 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java @@ -94,4 +94,4 @@ public class XHyphenatedWord_impl implements { return bIsAltSpelling; } -}; +} diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java index fd65d72caf24..133def0e4b0a 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java @@ -65,5 +65,5 @@ public class XMeaning_impl implements { return aSynonyms; } -}; +} diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java index dce63f8d8ec9..11eb33fff6f0 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java @@ -86,4 +86,4 @@ public class XPossibleHyphens_impl implements { return aOrigHyphenPos; } -}; +} diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java index 0c3cdd0bf89e..9b3d671a7b93 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java @@ -88,5 +88,5 @@ public class XSpellAlternatives_impl implements { return aAlt; } -}; +} diff --git a/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java b/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java index b59fd4529f71..d84531dcb6d3 100644 --- a/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java +++ b/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java @@ -299,7 +299,7 @@ public final class OwnEmbeddedObject extends WeakBase { m_xContext = context; m_aClassID = aClassID; - }; + } public void CloseFrameRequest() diff --git a/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObjectFactory.java b/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObjectFactory.java index 84547be8b1a4..662fedd33765 100644 --- a/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObjectFactory.java +++ b/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObjectFactory.java @@ -35,7 +35,7 @@ public final class OwnEmbeddedObjectFactory extends WeakBase public OwnEmbeddedObjectFactory( XComponentContext context ) { m_xContext = context; - }; + } public static XSingleComponentFactory __getComponentFactory( String sImplementationName ) { XSingleComponentFactory xFactory = null; diff --git a/sc/qa/complex/dataPilot/_XPropertySet.java b/sc/qa/complex/dataPilot/_XPropertySet.java index d163dbef37fb..2e1bde305ed2 100644 --- a/sc/qa/complex/dataPilot/_XPropertySet.java +++ b/sc/qa/complex/dataPilot/_XPropertySet.java @@ -80,7 +80,7 @@ public class _XPropertySet { propertyChanged = true; } public void disposing (EventObject obj) {} - }; + } /** @@ -104,7 +104,7 @@ public class _XPropertySet { vetoableChanged = true; } public void disposing (EventObject obj) {} - }; + } /** diff --git a/swext/mediawiki/src/com/sun/star/wiki/MainThreadDialogExecutor.java b/swext/mediawiki/src/com/sun/star/wiki/MainThreadDialogExecutor.java index 4d25b79e6dbe..038f4998caab 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/MainThreadDialogExecutor.java +++ b/swext/mediawiki/src/com/sun/star/wiki/MainThreadDialogExecutor.java @@ -163,5 +163,5 @@ public class MainThreadDialogExecutor implements XCallback m_bCalled = true; } -}; +} diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiCancelException.java b/swext/mediawiki/src/com/sun/star/wiki/WikiCancelException.java index 4ed0e7e813ca..0a6c81ebe4e1 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiCancelException.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiCancelException.java @@ -20,5 +20,5 @@ package com.sun.star.wiki; class WikiCancelException extends java.lang.Exception { -}; +} diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java b/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java index f4bb361b8d09..ad0513bbb08c 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java @@ -71,7 +71,7 @@ public final class WikiEditorImpl extends WeakBase // Helper.trustAllSSL(); m_xContext = xContext; m_aSettings = Settings.getSettings( m_xContext ); - }; + } public static XSingleComponentFactory __getComponentFactory( String sImplementationName ) { diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java b/swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java index b16be39f65a7..2ec2b33bf834 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java @@ -282,5 +282,5 @@ public final class WikiOptionsEventHandlerImpl extends WeakBase { return new String[] { sExternalEvent, sAdd, sEdit, sRemove }; } -}; +} diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java b/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java index 440dd9a0079d..755dd80304b9 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java @@ -155,5 +155,5 @@ class WikiProtocolSocketFactory implements SecureProtocolSocketFactory { return WikiProtocolSocketFactory.class.hashCode(); } -}; +} diff --git a/toolkit/test/accessibility/AccessibleTextHandler.java b/toolkit/test/accessibility/AccessibleTextHandler.java index 46b4b69d4b4c..0c87d16eda38 100644 --- a/toolkit/test/accessibility/AccessibleTextHandler.java +++ b/toolkit/test/accessibility/AccessibleTextHandler.java @@ -301,7 +301,7 @@ class AccessibleTextHandler extends NodeHandler } } catch( IndexOutOfBoundsException e ) - { ; } // ignore errors + { } // ignore errors return aBuffer.toString(); } diff --git a/toolkit/test/accessibility/TextUpdateListener.java b/toolkit/test/accessibility/TextUpdateListener.java index cd851140cbec..7ab8deb5e73a 100644 --- a/toolkit/test/accessibility/TextUpdateListener.java +++ b/toolkit/test/accessibility/TextUpdateListener.java @@ -60,9 +60,9 @@ class TextUpdateListener implements TreeModelListener } // don't care: - public void treeNodesInserted(TreeModelEvent e) { ; } - public void treeNodesRemoved(TreeModelEvent e) { ; } - public void treeStructureChanged(TreeModelEvent e) { ; } + public void treeNodesInserted(TreeModelEvent e) { } + public void treeNodesRemoved(TreeModelEvent e) { } + public void treeStructureChanged(TreeModelEvent e) { } /** update the text */ boolean updateText( XAccessibleText xText, String sNew ) diff --git a/ucb/qa/complex/tdoc/_XComponent.java b/ucb/qa/complex/tdoc/_XComponent.java index b51f3dadbc5c..50f5747bbc7f 100644 --- a/ucb/qa/complex/tdoc/_XComponent.java +++ b/ucb/qa/complex/tdoc/_XComponent.java @@ -52,7 +52,7 @@ public class _XComponent { Loutput[0] = Thread.currentThread() + " is DISPOSING EV1" + this; listenerDisposed[0] = true; } - }; + } /** * Listener which added and then removed, and its method must <b>not</b> @@ -63,7 +63,7 @@ public class _XComponent { Loutput[0] = Thread.currentThread() + " is DISPOSING EV2" + this; listenerDisposed[1] = true; } - }; + } XEventListener listener1 = new MyEventListener(); XEventListener listener2 = new MyEventListener2(); diff --git a/unotest/source/java/org/openoffice/test/OfficeConnection.java b/unotest/source/java/org/openoffice/test/OfficeConnection.java index 5ecf3b6bca86..fac8417a0f16 100644 --- a/unotest/source/java/org/openoffice/test/OfficeConnection.java +++ b/unotest/source/java/org/openoffice/test/OfficeConnection.java @@ -275,7 +275,7 @@ public final class OfficeConnection { PostprocessFailedException(IOException cause) { super("postprocessing failed with IOException " + cause, cause); } - }; + } private String description; private Process process = null; diff --git a/unotest/source/java/org/openoffice/test/tools/DocumentType.java b/unotest/source/java/org/openoffice/test/tools/DocumentType.java index 533815e3b5cc..6b2e9700024e 100644 --- a/unotest/source/java/org/openoffice/test/tools/DocumentType.java +++ b/unotest/source/java/org/openoffice/test/tools/DocumentType.java @@ -52,4 +52,4 @@ public class DocumentType extends com.sun.star.uno.Enum default: return UNKNOWN; } } -}; +} diff --git a/unotest/source/java/org/openoffice/test/tools/OfficeDocument.java b/unotest/source/java/org/openoffice/test/tools/OfficeDocument.java index 6348536950f4..5a1acf6daa54 100644 --- a/unotest/source/java/org/openoffice/test/tools/OfficeDocument.java +++ b/unotest/source/java/org/openoffice/test/tools/OfficeDocument.java @@ -315,5 +315,5 @@ public class OfficeDocument private XMultiServiceFactory m_orb; private XComponent m_documentComponent; -}; +} diff --git a/unotest/source/java/org/openoffice/test/tools/OfficeDocumentView.java b/unotest/source/java/org/openoffice/test/tools/OfficeDocumentView.java index abbd641c8dd3..b834d4671462 100644 --- a/unotest/source/java/org/openoffice/test/tools/OfficeDocumentView.java +++ b/unotest/source/java/org/openoffice/test/tools/OfficeDocumentView.java @@ -131,5 +131,5 @@ public class OfficeDocumentView } return dispatch( i_url, dispatchArgs ); } -}; +} diff --git a/unotools/qa/complex/tempfile/TempFileUnitTest.java b/unotools/qa/complex/tempfile/TempFileUnitTest.java index 3b002a00299e..7c3034dcac81 100644 --- a/unotools/qa/complex/tempfile/TempFileUnitTest.java +++ b/unotools/qa/complex/tempfile/TempFileUnitTest.java @@ -90,5 +90,5 @@ public class TempFileUnitTest /* extends ComplexTestCase */ { } private static final OfficeConnection connection = new OfficeConnection(); -}; +} |