summaryrefslogtreecommitdiff
path: root/bean/com/sun/star/beans
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-06 08:55:09 +0200
committerNoel Grandin <noel@peralex.com>2014-08-12 09:41:28 +0200
commit0477e6c39b7ce8b7f6560fbf222c19fe4f358dc8 (patch)
tree218eba20dd23c6a865cf01aa7532bf1261a69bc8 /bean/com/sun/star/beans
parente2e55a7c49079dfd896da6515b98d451e4c8735b (diff)
java: add @Override annotation to overriding methods
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
Diffstat (limited to 'bean/com/sun/star/beans')
-rw-r--r--bean/com/sun/star/beans/LocalOfficeWindow.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/bean/com/sun/star/beans/LocalOfficeWindow.java b/bean/com/sun/star/beans/LocalOfficeWindow.java
index 8ea7ad6a2eac..2db466a96bf0 100644
--- a/bean/com/sun/star/beans/LocalOfficeWindow.java
+++ b/bean/com/sun/star/beans/LocalOfficeWindow.java
@@ -157,6 +157,7 @@ public class LocalOfficeWindow
class ComponentEventHandler
extends java.awt.event.ComponentAdapter
{
+ @Override
public void componentHidden( java.awt.event.ComponentEvent e)
{
// only when we become invisible, we might lose our system window
@@ -167,6 +168,7 @@ public class LocalOfficeWindow
{} // ignore
}
+ @Override
public void componentShown( java.awt.event.ComponentEvent e)
{
// only when we become visible, we get a system window
@@ -175,6 +177,7 @@ public class LocalOfficeWindow
}
/// Overriding java.awt.Component.setVisible() due to Java bug (no showing event).
+ @Override
public void setVisible( boolean b )
{
super.setVisible(b);
@@ -277,6 +280,7 @@ public class LocalOfficeWindow
throw new InterruptedException();
}
+ @Override
public void run()
{
while ( aWatchedThread != null )