The module descriptor currently declares a dependency on java.xml, but this module is not actually used anywhere in the codebase.
Keeping unused module dependencies increases maintenance overhead and may introduce unnecessary coupling. Since there are no imports or usages of the java.xml API in the project, the dependency can safely be removed.
Current state
module-info.java contains:
However, there are no references to classes from the java.xml module (e.g., javax.xml.*, org.w3c.dom.*, org.xml.sax.*, etc.) in the codebase.
The module descriptor currently declares a dependency on
java.xml, but this module is not actually used anywhere in the codebase.Keeping unused module dependencies increases maintenance overhead and may introduce unnecessary coupling. Since there are no imports or usages of the
java.xmlAPI in the project, the dependency can safely be removed.Current state
module-info.javacontains:However, there are no references to classes from the
java.xmlmodule (e.g.,javax.xml.*,org.w3c.dom.*,org.xml.sax.*, etc.) in the codebase.