summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
authorTomoyuki Kubota <himajin100000@gmail.com>2019-05-24 19:24:10 +0900
committerMichael Stahl <Michael.Stahl@cib.de>2019-05-27 11:40:35 +0200
commit51f1e62e2dae37746d218a187d4b0158296ad155 (patch)
tree705fea877bb0dd7a9e3982370a7234a00e3ebe1f /jurt
parent9d18bc40416b651340804f44ba5fae65f3bbbcfa (diff)
@deprecated should be with @Deprecated
Without this patch, warnings will be given when LibreOffice is built with JDK9 or later. Change-Id: I7aa6e99ace2377fbdb7dd732949ce10d9bd9df58 Reviewed-on: https://gerrit.libreoffice.org/72947 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'jurt')
-rw-r--r--jurt/com/sun/star/comp/loader/FactoryHelper.java1
-rw-r--r--jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java1
-rw-r--r--jurt/com/sun/star/uno/Ascii.java2
-rw-r--r--jurt/com/sun/star/uno/AsciiString.java2
-rw-r--r--jurt/com/sun/star/uno/MappingException.java1
5 files changed, 7 insertions, 0 deletions
diff --git a/jurt/com/sun/star/comp/loader/FactoryHelper.java b/jurt/com/sun/star/comp/loader/FactoryHelper.java
index d6e28435d9b5..fe56f594f2bd 100644
--- a/jurt/com/sun/star/comp/loader/FactoryHelper.java
+++ b/jurt/com/sun/star/comp/loader/FactoryHelper.java
@@ -385,6 +385,7 @@ public class FactoryHelper {
* @see com.sun.star.lang.XServiceInfo
* @deprecated as of UDK 1.0
*/
+ @Deprecated
public static XSingleServiceFactory getServiceFactory(Class<?> implClass,
XMultiServiceFactory multiFactory,
XRegistryKey regKey)
diff --git a/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java b/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java
index 56fc0b4c905e..392e031e3063 100644
--- a/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java
+++ b/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java
@@ -360,6 +360,7 @@ public class java_remote_bridge
*
* @deprecated as of UDK 1.0
*/
+ @Deprecated
public java_remote_bridge(Object args[]) throws Exception {
this(UnoRuntime.getEnvironment("java", null), UnoRuntime.getEnvironment("remote", null), args);
}
diff --git a/jurt/com/sun/star/uno/Ascii.java b/jurt/com/sun/star/uno/Ascii.java
index 65a930a36347..ce510889351a 100644
--- a/jurt/com/sun/star/uno/Ascii.java
+++ b/jurt/com/sun/star/uno/Ascii.java
@@ -24,6 +24,7 @@ package com.sun.star.uno;
*
* @deprecated do not use.
*/
+@Deprecated
public final class Ascii {
public final char ascii;
@@ -33,6 +34,7 @@ public final class Ascii {
* @deprecated do not use.
* @param c the char value.
*/
+ @Deprecated
public Ascii(char c) {
ascii = c;
}
diff --git a/jurt/com/sun/star/uno/AsciiString.java b/jurt/com/sun/star/uno/AsciiString.java
index eb06c7fe53fd..8b744c5a2213 100644
--- a/jurt/com/sun/star/uno/AsciiString.java
+++ b/jurt/com/sun/star/uno/AsciiString.java
@@ -24,6 +24,7 @@ package com.sun.star.uno;
*
* @deprecated do not use.
*/
+@Deprecated
public final class AsciiString {
public final String asciistring;
@@ -33,6 +34,7 @@ public final class AsciiString {
* @deprecated do not use.
* @param s the String value.
*/
+ @Deprecated
public AsciiString(String s) {
asciistring = s;
}
diff --git a/jurt/com/sun/star/uno/MappingException.java b/jurt/com/sun/star/uno/MappingException.java
index b386e4512c70..7670a790ad93 100644
--- a/jurt/com/sun/star/uno/MappingException.java
+++ b/jurt/com/sun/star/uno/MappingException.java
@@ -31,6 +31,7 @@ package com.sun.star.uno;
*
* @deprecated since UDK 3.0.2
*/
+@Deprecated
public class MappingException extends com.sun.star.uno.RuntimeException {
/**
* Constructs an empty <code>MappingException</code>.