tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf...@apache.org
Subject svn commit: r719478 - /tuscany/java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/BundleUtil.java
Date Fri, 21 Nov 2008 05:00:35 GMT
Author: rfeng
Date: Thu Nov 20 21:00:35 2008
New Revision: 719478

URL: http://svn.apache.org/viewvc?rev=719478&view=rev
Log:
Fix duplicate exports

Modified:
    tuscany/java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/BundleUtil.java

Modified: tuscany/java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/BundleUtil.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/BundleUtil.java?rev=719478&r1=719477&r2=719478&view=diff
==============================================================================
--- tuscany/java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/BundleUtil.java
(original)
+++ tuscany/java/sca/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/BundleUtil.java
Thu Nov 20 21:00:35 2008
@@ -119,14 +119,9 @@
             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);



Mime
View raw message