diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-06 10:21:26 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-12 09:41:30 +0200 |
commit | c218458ead60205addf997e251427eb08d889e94 (patch) | |
tree | ef6f61a4ea8d66a1ccc60c32daed57792ba80a6c /sfx2 | |
parent | 2035213b0bdd7bf765679a7a912bd4a60bbcaf0d (diff) |
java: remove unnecessary semi-colons
Change-Id: I2eab5efff06ced09459adb407dbf789b8042a948
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/qa/complex/sfx2/DocumentEvents.java | 10 | ||||
-rw-r--r-- | sfx2/qa/complex/sfx2/UndoManager.java | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sfx2/qa/complex/sfx2/DocumentEvents.java b/sfx2/qa/complex/sfx2/DocumentEvents.java index 8f657d62e673..ae6b44453bb3 100644 --- a/sfx2/qa/complex/sfx2/DocumentEvents.java +++ b/sfx2/qa/complex/sfx2/DocumentEvents.java @@ -133,7 +133,7 @@ public class DocumentEvents extends JUnitBasedTest { // not interested in } - }; + } private class CloseListener implements XCloseListener { @@ -155,7 +155,7 @@ public class DocumentEvents extends JUnitBasedTest { // not interested in } - }; + } private class DocDisposeListener implements XEventListener { @@ -170,7 +170,7 @@ public class DocumentEvents extends JUnitBasedTest m_document.notifyAll(); } } - }; + } private class DocCloser extends Thread { @@ -187,14 +187,14 @@ public class DocumentEvents extends JUnitBasedTest Logger.getLogger(DocumentEvents.class.getName()).log(Level.SEVERE, null, ex); } } - }; + } private enum CloseEventType { OnUnload, NotifyClosing, Disposing - }; + } private OfficeDocument m_document = null; final private ArrayList< CloseEventType > m_observedCloseEvents = new ArrayList<DocumentEvents.CloseEventType>(); diff --git a/sfx2/qa/complex/sfx2/UndoManager.java b/sfx2/qa/complex/sfx2/UndoManager.java index faa280dd9824..adae001c2472 100644 --- a/sfx2/qa/complex/sfx2/UndoManager.java +++ b/sfx2/qa/complex/sfx2/UndoManager.java @@ -569,7 +569,7 @@ public class UndoManager private int getUndoActionCount() { return m_undoCount; } private int getRedoActionCount() { return m_redoCount; } private String getCurrentUndoContextTitle() { return m_activeUndoContexts.peek(); } - private String getMostRecentlyAddedActionTitle() { return m_mostRecentlyAddedAction; }; + private String getMostRecentlyAddedActionTitle() { return m_mostRecentlyAddedAction; } private String getMostRecentlyUndoneTitle() { return m_mostRecentlyUndone; } private int getCurrentUndoContextDepth() { return m_activeUndoContexts.size(); } private boolean isDisposed() { return m_isDisposed; } @@ -604,7 +604,7 @@ public class UndoManager private String m_mostRecentlyAddedAction = null; private String m_mostRecentlyUndone = null; private final Object m_allContextsClosedCondition = new Object(); - }; + } private void impl_checkUndo() throws Exception @@ -1399,7 +1399,7 @@ public class UndoManager } private final ArrayList<XEventListener> m_eventListeners = new ArrayList<XEventListener>(); - }; + } private class CallbackComponent implements XJob, XTypeProvider |