summaryrefslogtreecommitdiff
path: root/bean/com/sun/star/comp/beans
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-12 15:53:15 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-11-18 08:07:34 +0000
commit757748180971ee9ecb5feb1bb6364844da9992c0 (patch)
tree228e6935c114d8ef4a60e1795ce59ea814b30874 /bean/com/sun/star/comp/beans
parent79c6aff069a9593571226bb32e907f837a203b7c (diff)
java: rather use @Deprecated annotation
than an empty @deprecated tag Change-Id: I1646ce1c0c8823ac5be0153aeb8eb2b830e7ebfa Reviewed-on: https://gerrit.libreoffice.org/12525 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'bean/com/sun/star/comp/beans')
-rw-r--r--bean/com/sun/star/comp/beans/ContainerFactory.java5
-rw-r--r--bean/com/sun/star/comp/beans/InvalidArgumentException.java3
-rw-r--r--bean/com/sun/star/comp/beans/OOoBean.java8
-rw-r--r--bean/com/sun/star/comp/beans/OfficeConnection.java3
-rw-r--r--bean/com/sun/star/comp/beans/OfficeWindow.java3
5 files changed, 7 insertions, 15 deletions
diff --git a/bean/com/sun/star/comp/beans/ContainerFactory.java b/bean/com/sun/star/comp/beans/ContainerFactory.java
index d06a082c7db6..d7ebfba38596 100644
--- a/bean/com/sun/star/comp/beans/ContainerFactory.java
+++ b/bean/com/sun/star/comp/beans/ContainerFactory.java
@@ -22,11 +22,8 @@ import java.awt.Container;
/**
* This interface represents an AWT container factory.
- *
- * @deprecated
- *
*/
-
+@Deprecated
public interface ContainerFactory
{
/**
diff --git a/bean/com/sun/star/comp/beans/InvalidArgumentException.java b/bean/com/sun/star/comp/beans/InvalidArgumentException.java
index cfb288f44b9b..2c15f2db16c8 100644
--- a/bean/com/sun/star/comp/beans/InvalidArgumentException.java
+++ b/bean/com/sun/star/comp/beans/InvalidArgumentException.java
@@ -19,9 +19,8 @@
package com.sun.star.comp.beans;
/** indicates an invalid argument in a function call.
- *
- * @deprecated
*/
+@Deprecated
public class InvalidArgumentException extends Exception
{
}
diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java
index 04abd760636a..ddf20b23c62a 100644
--- a/bean/com/sun/star/comp/beans/OOoBean.java
+++ b/bean/com/sun/star/comp/beans/OOoBean.java
@@ -82,8 +82,8 @@ public class OOoBean
// @requirement FUNC.PER/0.2
/** @internal
- * @deprecated
*/
+ @Deprecated
public void writeExternal( java.io.ObjectOutput aObjOut )
{
// TBD
@@ -91,8 +91,8 @@ public class OOoBean
// @requirement FUNC.PER/0.2
/** @internal
- * @deprecated
*/
+ @Deprecated
public void readExternal( java.io.ObjectInput aObjIn )
{
// TBD
@@ -1312,9 +1312,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar");
setLayout(new java.awt.BorderLayout());
}
- /**
- @deprecated
- */
+ @Deprecated
@Override
public void paint( java.awt.Graphics aGraphics )
{
diff --git a/bean/com/sun/star/comp/beans/OfficeConnection.java b/bean/com/sun/star/comp/beans/OfficeConnection.java
index 2786810654d8..a2960d9b622d 100644
--- a/bean/com/sun/star/comp/beans/OfficeConnection.java
+++ b/bean/com/sun/star/comp/beans/OfficeConnection.java
@@ -26,9 +26,8 @@ import com.sun.star.uno.XComponentContext;
/**
* This abstract class represents a connection to the office
* application.
-
- @deprecated
*/
+@Deprecated
public interface OfficeConnection
extends XComponent
{
diff --git a/bean/com/sun/star/comp/beans/OfficeWindow.java b/bean/com/sun/star/comp/beans/OfficeWindow.java
index 599bf02bd904..a28489e1959b 100644
--- a/bean/com/sun/star/comp/beans/OfficeWindow.java
+++ b/bean/com/sun/star/comp/beans/OfficeWindow.java
@@ -26,9 +26,8 @@ import com.sun.star.awt.XWindowPeer;
* The concrete implementation of the OfficeWindow extends an
* appropriate type of visual component (java.awt.Canvas for local
* and java.awt.Container for remote).
-
- @deprecated
*/
+@Deprecated
public interface OfficeWindow
{
/**