diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-11-21 05:00:35 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-11-21 05:00:35 +0000 |
commit | ea6c9579227e0cebb19d92acf02cb80b6b637a00 (patch) | |
tree | 4bd28b13ae9ac3edec616d3c9be4b6cd4ae42c8d /java/sca/tools/maven/maven-bundle-plugin | |
parent | 60cd6cf6bfdb20a639acdbe9d881240711cd7529 (diff) |
Fix duplicate exports
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@719478 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/tools/maven/maven-bundle-plugin')
-rw-r--r-- | java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/BundleUtil.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/BundleUtil.java b/java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/BundleUtil.java index 7b078887c7..6c97a34676 100644 --- a/java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/BundleUtil.java +++ b/java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/BundleUtil.java @@ -119,14 +119,9 @@ final class BundleUtil { StringBuffer imports = new StringBuffer(); Set<String> pkgs = new HashSet<String>(); for (String export : exportedPackages) { - - // Add export declaration - exports.append(export); - exports.append(','); - - // Add corresponding import declaration String packageName = packageName(export); if (!pkgs.contains(packageName)) { + // Add corresponding import declaration // imports.append(export); // imports.append(','); pkgs.add(packageName); |