logging-commits mailing list archives

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

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

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

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



Mime
View raw message