summaryrefslogtreecommitdiff
path: root/bean/com/sun/star/comp/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/comp/beans
parente2e55a7c49079dfd896da6515b98d451e4c8735b (diff)
java: add @Override annotation to overriding methods
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
Diffstat (limited to 'bean/com/sun/star/comp/beans')
-rw-r--r--bean/com/sun/star/comp/beans/CallWatchThread.java1
-rw-r--r--bean/com/sun/star/comp/beans/LocalOfficeConnection.java1
-rw-r--r--bean/com/sun/star/comp/beans/LocalOfficeWindow.java2
-rw-r--r--bean/com/sun/star/comp/beans/OOoBean.java3
4 files changed, 7 insertions, 0 deletions
diff --git a/bean/com/sun/star/comp/beans/CallWatchThread.java b/bean/com/sun/star/comp/beans/CallWatchThread.java
index 31f3a8cdb1e0..b9de0a826384 100644
--- a/bean/com/sun/star/comp/beans/CallWatchThread.java
+++ b/bean/com/sun/star/comp/beans/CallWatchThread.java
@@ -74,6 +74,7 @@ public class CallWatchThread extends Thread
notify();
}
+ @Override
public void run()
{
dbgPrint( "CallWatchThread(" + this + ".run(" + aTag + ") ***** STARTED *****" );
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
index c06dd2daba31..1094a7bae81c 100644
--- a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
+++ b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
@@ -739,6 +739,7 @@ public class LocalOfficeConnection
start();
}
+ @Override
public void run() {
java.io.BufferedReader r = new java.io.BufferedReader(
new java.io.InputStreamReader(m_in) );
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java
index eae4ea5df338..2058860ece8e 100644
--- a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java
+++ b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java
@@ -158,6 +158,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);
@@ -220,6 +221,7 @@ public class LocalOfficeWindow
/** We make sure that the office window is notified that the parent
* will be removed.
*/
+ @Override
public void removeNotify()
{
try {
diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java
index 1635717fd156..75931911c683 100644
--- a/bean/com/sun/star/comp/beans/OOoBean.java
+++ b/bean/com/sun/star/comp/beans/OOoBean.java
@@ -288,6 +288,7 @@ public class OOoBean
final OfficeConnection iConn = getOOoConnection();
Thread aConnectorThread = new Thread() {
+ @Override
public void run()
{
com.sun.star.lang.XMultiComponentFactory aFactory =
@@ -1306,6 +1307,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar");
/**
@deprecated
*/
+ @Override
public void paint( java.awt.Graphics aGraphics )
{
}
@@ -1429,6 +1431,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar");
}
/// watching the connection
+ @Override
public void run()
{
dbgPrint( "EventListener(" + aTag + ").run()" );