diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-17 14:42:31 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-17 14:42:31 +0000 |
commit | d72f554e63e65740960158c678a260160d6ed5b2 (patch) | |
tree | 07369692469dddbbdba7254a059eb3e7cbb89f4c /sca-java-2.x/trunk | |
parent | ec2a2a7ff7ac0ef90d253784b65540f7dc3d3397 (diff) |
TUSCANY-3534: Apply patch from William Mayor to fix unchecked warning in assembly module
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@935180 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/impl/PolicyExpressionImpl.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/impl/PolicyExpressionImpl.java b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/impl/PolicyExpressionImpl.java index 71e5eef6a7..b9f9fa5eb4 100644 --- a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/impl/PolicyExpressionImpl.java +++ b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/impl/PolicyExpressionImpl.java @@ -35,7 +35,8 @@ public class PolicyExpressionImpl implements PolicyExpression { return name; } - public <T> T getPolicy() { + @SuppressWarnings("unchecked") + public <T> T getPolicy() { return (T)policy; } |