This is an automated email from the ASF dual-hosted git repository.

cziegeler pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-extension-apiregions.git


The following commit(s) were added to refs/heads/master by this push:
     new 63a18d5  Ignore org.xml. packages as well
63a18d5 is described below

commit 63a18d5f112a6d15b1c52961c0fbe64594a50cf8
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Mon Oct 28 11:54:29 2019 +0100

    Ignore org.xml. packages as well
---
 .../apiregions/analyser/CheckApiRegionsBundleExportsImports.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/src/main/java/org/apache/sling/feature/extension/apiregions/analyser/CheckApiRegionsBundleExportsImports.java
 
b/src/main/java/org/apache/sling/feature/extension/apiregions/analyser/CheckApiRegionsBundleExportsImports.java
index dc65ee5..2b1a884 100644
--- 
a/src/main/java/org/apache/sling/feature/extension/apiregions/analyser/CheckApiRegionsBundleExportsImports.java
+++ 
b/src/main/java/org/apache/sling/feature/extension/apiregions/analyser/CheckApiRegionsBundleExportsImports.java
@@ -110,9 +110,9 @@ public class CheckApiRegionsBundleExportsImports implements 
AnalyserTask {
             if ( info.getImportedPackages() != null ) {
                 for(final PackageInfo i : info.getImportedPackages()) {
                     if ( i.getVersion() == null ) {
-                        // don't report for javax and org.w3c. packages (TODO)
+                        // don't report for javax, org.xml. and org.w3c. 
packages (TODO)
                         if ( !i.getName().startsWith("javax.")
-                             && !i.getName().startsWith("org.w3c.")) {
+                                && !i.getName().startsWith("org.w3c.") && 
!i.getName().startsWith("org.xml.")) {
                             getReport(reports, 
info).importWithoutVersion.add(i);
                         }
                     }

Reply via email to