tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcombell...@apache.org
Subject svn commit: r658221 - /incubator/tuscany/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/BaseAssemblyProcessor.java
Date Tue, 20 May 2008 12:37:59 GMT
Author: mcombellack
Date: Tue May 20 05:37:59 2008
New Revision: 658221

URL: http://svn.apache.org/viewvc?rev=658221&view=rev
Log:
Removed calls to toString() on parameters that are already a String (FindBugs reported issue)

Modified:
    incubator/tuscany/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/BaseAssemblyProcessor.java

Modified: incubator/tuscany/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/BaseAssemblyProcessor.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/BaseAssemblyProcessor.java?rev=658221&r1=658220&r2=658221&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/BaseAssemblyProcessor.java
(original)
+++ incubator/tuscany/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/BaseAssemblyProcessor.java
Tue May 20 05:37:59 2008
@@ -375,7 +375,7 @@
         throws ContributionResolveException {
         
         String parentName = (parent instanceof Composite) ? ((Composite)parent).getName().toString()
:
-            (parent instanceof Component) ? ((Component)parent).getName().toString() : "UNKNOWN";
+            (parent instanceof Component) ? ((Component)parent).getName() : "UNKNOWN";
         
         for (Contract contract : contracts) {
             try {



Mime
View raw message