tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r935180 - /tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/impl/PolicyExpressionImpl.java
Date Sat, 17 Apr 2010 14:42:31 GMT
Author: antelder
Date: Sat Apr 17 14:42:31 2010
New Revision: 935180

URL: http://svn.apache.org/viewvc?rev=935180&view=rev
Log:
TUSCANY-3534: Apply patch from William Mayor to fix unchecked warning in assembly module

Modified:
    tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/impl/PolicyExpressionImpl.java

Modified: tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/impl/PolicyExpressionImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/impl/PolicyExpressionImpl.java?rev=935180&r1=935179&r2=935180&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/impl/PolicyExpressionImpl.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/impl/PolicyExpressionImpl.java
Sat Apr 17 14:42:31 2010
@@ -35,7 +35,8 @@ public class PolicyExpressionImpl implem
         return name;
     }
 
-    public <T> T getPolicy() {
+    @SuppressWarnings("unchecked")
+	public <T> T getPolicy() {
         return (T)policy;
     }
 



Mime
View raw message