diff options
author | David Gageot <david@gageot.net> | 2012-04-27 16:45:37 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2012-04-27 16:48:58 +0200 |
commit | bd90fa7d3ec17f825cac80eebd46cf1ee0412ee9 (patch) | |
tree | 92a3ff7db9b91d9afe4684cc90a7a0cc5c3e010c /plugins/sonar-pmd-plugin | |
parent | 1a6a18a5c4e73987a72b8176f398477f13074d29 (diff) | |
download | sonarqube-bd90fa7d3ec17f825cac80eebd46cf1ee0412ee9.tar.gz sonarqube-bd90fa7d3ec17f825cac80eebd46cf1ee0412ee9.zip |
Code cleaning : Remove unnecessary casts
Diffstat (limited to 'plugins/sonar-pmd-plugin')
-rw-r--r-- | plugins/sonar-pmd-plugin/src/main/java/org/sonar/plugins/pmd/PmdProfileImporter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-pmd-plugin/src/main/java/org/sonar/plugins/pmd/PmdProfileImporter.java b/plugins/sonar-pmd-plugin/src/main/java/org/sonar/plugins/pmd/PmdProfileImporter.java index 8c4ddb45286..7524b9d2465 100644 --- a/plugins/sonar-pmd-plugin/src/main/java/org/sonar/plugins/pmd/PmdProfileImporter.java +++ b/plugins/sonar-pmd-plugin/src/main/java/org/sonar/plugins/pmd/PmdProfileImporter.java @@ -117,9 +117,9 @@ public class PmdProfileImporter extends ProfileImporter { private List<Element> getChildren(Element parent, String childName, @Nullable Namespace namespace) { if (namespace == null) { - return (List<Element>) parent.getChildren(childName); + return parent.getChildren(childName); } else { - return (List<Element>) parent.getChildren(childName, namespace); + return parent.getChildren(childName, namespace); } } |