summaryrefslogtreecommitdiff
path: root/bean
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-19 14:18:44 +0200
committerNoel Grandin <noel@peralex.com>2014-08-19 14:57:16 +0200
commit56ef5533fc1bce2134721ae64d4d6c18a3526a7a (patch)
treeeafaa8b3c9c7fd4bbeb03fdb1be091f94c870953 /bean
parent1e6f0b2d8b35f856637eedf91729e522fcc633e8 (diff)
java: classes in java.lang package do not need to be fully qualified
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
Diffstat (limited to 'bean')
-rw-r--r--bean/com/sun/star/beans/LocalOfficeWindow.java6
-rw-r--r--bean/com/sun/star/comp/beans/CallWatchThread.java6
-rw-r--r--bean/com/sun/star/comp/beans/OOoBean.java20
3 files changed, 16 insertions, 16 deletions
diff --git a/bean/com/sun/star/beans/LocalOfficeWindow.java b/bean/com/sun/star/beans/LocalOfficeWindow.java
index 9283b013a43e..03a4bd4b90ca 100644
--- a/bean/com/sun/star/beans/LocalOfficeWindow.java
+++ b/bean/com/sun/star/beans/LocalOfficeWindow.java
@@ -164,7 +164,7 @@ public class LocalOfficeWindow
CallWatchThread aCallWatchThread = new CallWatchThread( 500 );
setVisible(false);
try { aCallWatchThread.cancel(); }
- catch ( java.lang.InterruptedException aExc )
+ catch ( InterruptedException aExc )
{} // ignore
}
@@ -270,7 +270,7 @@ public class LocalOfficeWindow
}
private void cancel()
- throws java.lang.InterruptedException
+ throws InterruptedException
{
aWatchedThread = null;
stop();
@@ -285,7 +285,7 @@ public class LocalOfficeWindow
while ( aWatchedThread != null )
{
try { sleep( nTimeout ); }
- catch ( java.lang.InterruptedException aExc )
+ catch ( InterruptedException aExc )
{}
//synchronized
diff --git a/bean/com/sun/star/comp/beans/CallWatchThread.java b/bean/com/sun/star/comp/beans/CallWatchThread.java
index b9de0a826384..45cecbc367e8 100644
--- a/bean/com/sun/star/comp/beans/CallWatchThread.java
+++ b/bean/com/sun/star/comp/beans/CallWatchThread.java
@@ -52,7 +52,7 @@ public class CallWatchThread extends Thread
}
public void cancel()
- throws java.lang.InterruptedException
+ throws InterruptedException
{
dbgPrint( "CallWatchThread(" + this + ".cancel(" + aTag + ")" );
if ( aWatchedThread != null && aWatchedThread != Thread.currentThread() )
@@ -63,7 +63,7 @@ public class CallWatchThread extends Thread
}
public synchronized void restart()
- throws java.lang.InterruptedException
+ throws InterruptedException
{
dbgPrint( "CallWatchThread(" + this + ".restart(" + aTag + ")" );
if ( aWatchedThread != null && aWatchedThread != Thread.currentThread() )
@@ -89,7 +89,7 @@ public class CallWatchThread extends Thread
{
wait( nTimeout );
}
- catch ( java.lang.InterruptedException aExc )
+ catch ( InterruptedException aExc )
{
bAlive = false;
}
diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java
index b84ad5c4dd2c..b6504fa733bd 100644
--- a/bean/com/sun/star/comp/beans/OOoBean.java
+++ b/bean/com/sun/star/comp/beans/OOoBean.java
@@ -281,7 +281,7 @@ public class OOoBean
};
aConnectorThread.start();
try { aConnectorThread.join(nOOoStartTimeOut); }
- catch ( java.lang.InterruptedException aExc )
+ catch ( InterruptedException aExc )
{ throw new NoConnectionException(); }
if ( xServiceFactory == null )
throw new NoConnectionException();
@@ -381,7 +381,7 @@ public class OOoBean
aCallWatchThread.cancel();
}
- catch ( java.lang.InterruptedException aExc )
+ catch ( InterruptedException aExc )
{ /* can be ignored */ }
}
@@ -648,7 +648,7 @@ public class OOoBean
applyToolVisibilities();
}
- catch ( java.lang.InterruptedException aExc )
+ catch ( InterruptedException aExc )
{
throw new NoConnectionException();
}
@@ -802,7 +802,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar");
boolean bOldValue, boolean bNewValue )
throws
- java.lang.InterruptedException
+ InterruptedException
{
// start runtime timeout
CallWatchThread aCallWatchThread =
@@ -871,7 +871,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar");
bMenuBarVisible = setToolVisible( "MenuBarVisible",
"private:resource/menubar/menubar", bMenuBarVisible, bVisible );
}
- catch ( java.lang.InterruptedException aExc )
+ catch ( InterruptedException aExc )
{
bMenuBarVisible = bVisible;
}
@@ -919,7 +919,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar");
bStandardBarVisible = setToolVisible( "StandardBarVisible",
"private:resource/toolbar/standardbar", bStandardBarVisible, bVisible );
}
- catch ( java.lang.InterruptedException aExc )
+ catch ( InterruptedException aExc )
{
bMenuBarVisible = bVisible;
}
@@ -967,7 +967,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar");
bToolBarVisible = setToolVisible( "ToolBarVisible",
"private:resource/toolbar/toolbar", bToolBarVisible, bVisible );
}
- catch ( java.lang.InterruptedException aExc )
+ catch ( InterruptedException aExc )
{
bMenuBarVisible = bVisible;
}
@@ -1015,7 +1015,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar");
bStatusBarVisible = setToolVisible( "StatusBarVisible",
"private:resource/statusbar/statusbar", bStatusBarVisible, bVisible );
}
- catch ( java.lang.InterruptedException aExc )
+ catch ( InterruptedException aExc )
{
bMenuBarVisible = bVisible;
}
@@ -1204,7 +1204,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar");
{
aCallWatchThread.restart();
}
- catch ( java.lang.InterruptedException aExc )
+ catch ( InterruptedException aExc )
{
// ignore late interrupt
}
@@ -1221,7 +1221,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar");
try {
sleep(nOOoCheckCycle);
}
- catch ( java.lang.InterruptedException aExc )
+ catch ( InterruptedException aExc )
{
dbgPrint("EventListener(" + aTag + ") interrupted.");
// thread can be ended by EvendListener.end();