odk: classes in java.lang package do not need to be fully qualified

Change-Id: Idcc8af34095496aa6e7f516d9b2b975f7e58799f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167555
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
This commit is contained in:
Ilmari Lauhakangas
2024-05-13 14:44:47 +02:00
committed by Noel Grandin
parent 98746cca55
commit 8a73c5725f
6 changed files with 8 additions and 8 deletions
@@ -198,7 +198,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
++c;
aDeactivation = new com.sun.star.beans.NamedValue();
aDeactivation.Name = "Deactivate";
aDeactivation.Value = java.lang.Boolean.TRUE;
aDeactivation.Value = Boolean.TRUE;
}
// Sending of result events is useful inside DISPATCH environment only
@@ -284,7 +284,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
xInfoBox.setMessageText(sMessage);
xInfoBox.execute();
}
catch(java.lang.Throwable exIgnore)
catch(Throwable exIgnore)
{
// ignore any problem, which can occur here.
// It's not really a bug for this example job, if
@@ -42,7 +42,7 @@ public abstract class ControlValidator implements com.sun.star.form.validation.X
return ( com.sun.star.uno.AnyConverter.getType(Value).getTypeClass()
== com.sun.star.uno.TypeClass.VOID );
}
catch( java.lang.ClassCastException e )
catch( ClassCastException e )
{
}
return false;
@@ -58,7 +58,7 @@ public class RowSet implements XRowSet, XRow
catch ( Exception e )
{
e.printStackTrace(System.err);
throw new java.lang.InstantiationError();
throw new InstantiationError();
}
}
@@ -37,7 +37,7 @@ import com.sun.star.text.XTextRange;
content to other interested parties.
*/
public class TableCellTextBinding
extends java.lang.Thread
extends Thread
implements com.sun.star.form.binding.XValueBinding,
com.sun.star.util.XModifyBroadcaster
{
@@ -95,7 +95,7 @@ public class TableCellTextBinding
{
text = (String)obj;
}
catch( java.lang.ClassCastException e )
catch( ClassCastException e )
{
throw new com.sun.star.form.binding.IncompatibleTypesException();
}
@@ -16,7 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
class WaitForInput extends java.lang.Thread
class WaitForInput extends Thread
{
private Object m_aToNotify;
private boolean m_bDone;
@@ -53,7 +53,7 @@ class JavaWindowPeerFake implements com.sun.star.awt.XSystemDependentWindowPeer,
* Implementation of XSystemDependentWindowPeer (that's all we really need).
* This method is called back from the Office toolkit to retrieve the system data.
*/
public java.lang.Object getWindowHandle(byte[] aProcessId, short aSystem)
public Object getWindowHandle(byte[] aProcessId, short aSystem)
throws com.sun.star.uno.RuntimeException
{
Object aReturn = null;