PROTON-1428: remove invalid constructor deprecation markers
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ConnectionImpl.java b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ConnectionImpl.java
index 57d4a1e..acecbbf 100644
--- a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ConnectionImpl.java
+++ b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ConnectionImpl.java
@@ -78,10 +78,9 @@
private static final Symbol[] EMPTY_SYMBOL_ARRAY = new Symbol[0];
/**
- * @deprecated This constructor's visibility will be reduced to the default scope in a future release.
- * Client code outside this module should use {@link org.apache.qpid.proton.engine.Connection.Factory#create()} instead.
+ * Application code should use {@link org.apache.qpid.proton.engine.Connection.Factory#create()} instead.
*/
- @Deprecated public ConnectionImpl()
+ public ConnectionImpl()
{
}
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/TransportImpl.java b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/TransportImpl.java
index 42126b0..e07b6f9 100644
--- a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/TransportImpl.java
+++ b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/TransportImpl.java
@@ -143,10 +143,9 @@
private List<TransportLayer> _additionalTransportLayers;
/**
- * @deprecated This constructor's visibility will be reduced to the default scope in a future release.
- * Client code outside this module should use {@link org.apache.qpid.proton.engine.Transport.Factory#create()} instead
+ * Application code should use {@link org.apache.qpid.proton.engine.Transport.Factory#create()} instead
*/
- @Deprecated public TransportImpl()
+ public TransportImpl()
{
this(DEFAULT_MAX_FRAME_SIZE);
}
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslDomainImpl.java b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslDomainImpl.java
index 9e7201c..3928b05 100644
--- a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslDomainImpl.java
+++ b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslDomainImpl.java
@@ -38,10 +38,9 @@
private final SslEngineFacadeFactory _sslEngineFacadeFactory = new SslEngineFacadeFactory();
/**
- * @deprecated This constructor's visibility will be reduced to the default scope in a future release.
- * Client code outside this module should use {@link SslDomain.Factory#create()} instead.
+ * Application code should use {@link org.apache.qpid.proton.engine.SslDomain.Factory#create()} instead.
*/
- @Deprecated public SslDomainImpl()
+ public SslDomainImpl()
{
}
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslPeerDetailsImpl.java b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslPeerDetailsImpl.java
index cbd9755..516efc6 100644
--- a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslPeerDetailsImpl.java
+++ b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslPeerDetailsImpl.java
@@ -27,10 +27,9 @@
private final int _port;
/**
- * @deprecated This constructor's visibility will be reduced to the default scope in a future release.
- * Client code outside this module should use {@link org.apache.qpid.proton.engine.SslPeerDetails.Factory#create(String, int)} instead.
+ * Application code should use {@link org.apache.qpid.proton.engine.SslPeerDetails.Factory#create(String, int)} instead.
*/
- @Deprecated public SslPeerDetailsImpl(String hostname, int port)
+ public SslPeerDetailsImpl(String hostname, int port)
{
_hostname = hostname;
_port = port;
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/message/impl/MessageImpl.java b/proton-j/src/main/java/org/apache/qpid/proton/message/impl/MessageImpl.java
index df6373f..cd90789 100644
--- a/proton-j/src/main/java/org/apache/qpid/proton/message/impl/MessageImpl.java
+++ b/proton-j/src/main/java/org/apache/qpid/proton/message/impl/MessageImpl.java
@@ -56,19 +56,17 @@
};
/**
- * @deprecated This constructor's visibility will be reduced to the default scope in a future release.
- * Client code outside this module should use {@link Message.Factory#create()} instead
+ * Application code should use {@link org.apache.qpid.proton.message.Message.Factory#create()} instead.
*/
- @Deprecated public MessageImpl()
+ public MessageImpl()
{
}
/**
- * @deprecated This constructor's visibility will be reduced to the default scope in a future release.
- * Client code outside this module should instead use
- * {@link Message.Factory#create(Header, DeliveryAnnotations, MessageAnnotations, Properties, ApplicationProperties, Section, Footer)}
+ * Application code should instead use
+ * {@link org.apache.qpid.proton.message.Message.Factory#create(Header, DeliveryAnnotations, MessageAnnotations, Properties, ApplicationProperties, Section, Footer)}
*/
- @Deprecated public MessageImpl(Header header, DeliveryAnnotations deliveryAnnotations, MessageAnnotations messageAnnotations,
+ public MessageImpl(Header header, DeliveryAnnotations deliveryAnnotations, MessageAnnotations messageAnnotations,
Properties properties, ApplicationProperties applicationProperties, Section body, Footer footer)
{
_header = header;
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/reactor/impl/Address.java b/proton-j/src/main/java/org/apache/qpid/proton/reactor/impl/Address.java
index 619912f..5e860d2 100644
--- a/proton-j/src/main/java/org/apache/qpid/proton/reactor/impl/Address.java
+++ b/proton-j/src/main/java/org/apache/qpid/proton/reactor/impl/Address.java
@@ -48,17 +48,11 @@
_name = null;
}
- /**
- * @deprecated Messenger will be removed from upcoming proton-j releases.
- */
public Address()
{
clear();
}
- /**
- * @deprecated Messenger will be removed from upcoming proton-j releases.
- */
public Address(String address)
{
clear();