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 minor = 0;
|
||||
try {
|
||||
Package p = Package.getPackage("org.apache.activemq");
|
||||
Package p = ActiveMQConnectionMetaData.class.getPackage();
|
||||
if (p != null) {
|
||||
version = p.getImplementationVersion();
|
||||
if (version != null) {
|
||||
|
|
|
@ -111,14 +111,6 @@ public abstract class Message extends BaseCommand implements MarshallAware, Mess
|
|||
public abstract void storeContent();
|
||||
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
|
||||
public void clearUnMarshalledState() throws JMSException {
|
||||
properties = null;
|
||||
|
|
Loading…
Reference in New Issue