tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcombell...@apache.org
Subject svn commit: r658243 - /incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/provider/XMLTextMessageProcessor.java
Date Tue, 20 May 2008 13:40:19 GMT
Author: mcombellack
Date: Tue May 20 06:40:18 2008
New Revision: 658243

URL: http://svn.apache.org/viewvc?rev=658243&view=rev
Log:
Removed redundant variable assignment (FindBugs reported issue)

Modified:
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/provider/XMLTextMessageProcessor.java

Modified: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/provider/XMLTextMessageProcessor.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/provider/XMLTextMessageProcessor.java?rev=658243&r1=658242&r2=658243&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/provider/XMLTextMessageProcessor.java
(original)
+++ incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/provider/XMLTextMessageProcessor.java
Tue May 20 06:40:18 2008
@@ -50,7 +50,7 @@
         try {
 
             String xml = ((TextMessage)msg).getText();
-            Object[] os = null;
+            Object[] os;
             if (xml != null) {
                 XMLStreamReader reader = XMLInputFactory.newInstance().createXMLStreamReader(new
StringReader(xml));
                 StAXOMBuilder builder = new StAXOMBuilder(reader);



Mime
View raw message