mirror of https://github.com/apache/activemq.git
[AMQ-8493] Minor deprecation cleanups in activemq-client
This commit is contained in:
parent
6681cde88c
commit
00925c1eff
|
@ -43,7 +43,7 @@ public final class ActiveMQConnectionMetaData implements ConnectionMetaData {
|
||||||
int major = 0;
|
int major = 0;
|
||||||
int minor = 0;
|
int minor = 0;
|
||||||
try {
|
try {
|
||||||
Package p = Package.getPackage("org.apache.activemq");
|
Package p = ActiveMQConnectionMetaData.class.getPackage();
|
||||||
if (p != null) {
|
if (p != null) {
|
||||||
version = p.getImplementationVersion();
|
version = p.getImplementationVersion();
|
||||||
if (version != null) {
|
if (version != null) {
|
||||||
|
|
|
@ -111,14 +111,6 @@ public abstract class Message extends BaseCommand implements MarshallAware, Mess
|
||||||
public abstract void storeContent();
|
public abstract void storeContent();
|
||||||
public abstract void storeContentAndClear();
|
public abstract void storeContentAndClear();
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated - This method name is misnamed
|
|
||||||
* @throws JMSException
|
|
||||||
*/
|
|
||||||
public void clearMarshalledState() throws JMSException {
|
|
||||||
clearUnMarshalledState();
|
|
||||||
}
|
|
||||||
|
|
||||||
// useful to reduce the memory footprint of a persisted message
|
// useful to reduce the memory footprint of a persisted message
|
||||||
public void clearUnMarshalledState() throws JMSException {
|
public void clearUnMarshalledState() throws JMSException {
|
||||||
properties = null;
|
properties = null;
|
||||||
|
|
Loading…
Reference in New Issue