logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1405233 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSQueueManager.java
Date Sat, 03 Nov 2012 00:10:24 GMT
Author: ggregory
Date: Sat Nov  3 00:10:24 2012
New Revision: 1405233

URL: http://svn.apache.org/viewvc?rev=1405233&view=rev
Log:
Unnecessary cast from JMSQueueManager to JMSQueueManager.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSQueueManager.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSQueueManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSQueueManager.java?rev=1405233&r1=1405232&r2=1405233&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSQueueManager.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSQueueManager.java
Sat Nov  3 00:10:24 2012
@@ -83,7 +83,7 @@ public class JMSQueueManager extends Abs
         }
 
         String name = "JMSQueue:" + factoryBindingName + '.' + queueBindingName;
-        return (JMSQueueManager) getManager(name, factory, new FactoryData(factoryName, providerURL,
urlPkgPrefixes,
+        return getManager(name, factory, new FactoryData(factoryName, providerURL, urlPkgPrefixes,
             securityPrincipalName, securityCredentials, factoryBindingName, queueBindingName,
userName, password));
     }
 



Mime
View raw message