aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-xml-tools
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2018-03-30 20:11:57 +0200
committerMartin Stockhammer <martin_s@apache.org>2018-03-30 20:11:57 +0200
commitf1012523759e82b871d1d2ef038899d1e3237a9a (patch)
treea56b491149b8310d28fd77daea1f7f876782b164 /archiva-modules/archiva-base/archiva-xml-tools
parentf7facffea70618c497584943f0864dad808a79af (diff)
downloadarchiva-f1012523759e82b871d1d2ef038899d1e3237a9a.tar.gz
archiva-f1012523759e82b871d1d2ef038899d1e3237a9a.zip
Reorganizing imports
Diffstat (limited to 'archiva-modules/archiva-base/archiva-xml-tools')
-rw-r--r--archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/XMLReader.java15
-rw-r--r--archiva-modules/archiva-base/archiva-xml-tools/src/test/java/org/apache/archiva/xml/XMLReaderTest.java6
-rw-r--r--archiva-modules/archiva-base/archiva-xml-tools/src/test/java/org/apache/archiva/xml/XMLWriterTest.java2
3 files changed, 17 insertions, 6 deletions
diff --git a/archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/XMLReader.java b/archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/XMLReader.java
index 5d3f1cd0e..f938e5fcb 100644
--- a/archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/XMLReader.java
+++ b/archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/XMLReader.java
@@ -20,7 +20,14 @@ package org.apache.archiva.xml;
*/
import org.apache.commons.lang.StringUtils;
-import org.dom4j.*;
+import org.dom4j.Attribute;
+import org.dom4j.Document;
+import org.dom4j.DocumentException;
+import org.dom4j.Element;
+import org.dom4j.Namespace;
+import org.dom4j.Node;
+import org.dom4j.QName;
+import org.dom4j.XPath;
import org.dom4j.io.SAXReader;
import java.io.IOException;
@@ -31,7 +38,11 @@ import java.net.URL;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
/**
* XMLReader - a set of common xml utility methods for reading content out of an xml file.
diff --git a/archiva-modules/archiva-base/archiva-xml-tools/src/test/java/org/apache/archiva/xml/XMLReaderTest.java b/archiva-modules/archiva-base/archiva-xml-tools/src/test/java/org/apache/archiva/xml/XMLReaderTest.java
index fa99a4afa..3dc13825d 100644
--- a/archiva-modules/archiva-base/archiva-xml-tools/src/test/java/org/apache/archiva/xml/XMLReaderTest.java
+++ b/archiva-modules/archiva-base/archiva-xml-tools/src/test/java/org/apache/archiva/xml/XMLReaderTest.java
@@ -19,13 +19,13 @@ package org.apache.archiva.xml;
* under the License.
*/
+import org.dom4j.Element;
+import org.junit.Test;
+
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
-import org.dom4j.Element;
-import org.junit.Test;
-
/**
* XMLReaderTest
*
diff --git a/archiva-modules/archiva-base/archiva-xml-tools/src/test/java/org/apache/archiva/xml/XMLWriterTest.java b/archiva-modules/archiva-base/archiva-xml-tools/src/test/java/org/apache/archiva/xml/XMLWriterTest.java
index 4791311da..9ff014b6f 100644
--- a/archiva-modules/archiva-base/archiva-xml-tools/src/test/java/org/apache/archiva/xml/XMLWriterTest.java
+++ b/archiva-modules/archiva-base/archiva-xml-tools/src/test/java/org/apache/archiva/xml/XMLWriterTest.java
@@ -22,9 +22,9 @@ package org.apache.archiva.xml;
import org.dom4j.Document;
import org.dom4j.DocumentHelper;
import org.dom4j.Element;
+import org.junit.Test;
import java.io.StringWriter;
-import org.junit.Test;
/**
* XMLWriterTest