aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/main/java/io/trygvis/esper/testing/nexus/NexusClient.java2
-rwxr-xr-xsrc/main/java/io/trygvis/esper/testing/nexus/SearchNGResponseParser.java (renamed from src/main/java/io/trygvis/esper/testing/nexus/NexusParser.java)2
-rwxr-xr-xsrc/test/java/io/trygvis/esper/testing/nexus/TestXmlParsing.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/io/trygvis/esper/testing/nexus/NexusClient.java b/src/main/java/io/trygvis/esper/testing/nexus/NexusClient.java
index 42ed245..9b2b899 100755
--- a/src/main/java/io/trygvis/esper/testing/nexus/NexusClient.java
+++ b/src/main/java/io/trygvis/esper/testing/nexus/NexusClient.java
@@ -2,7 +2,7 @@ package io.trygvis.esper.testing.nexus;
import fj.data.*;
import static fj.data.Option.*;
-import static io.trygvis.esper.testing.nexus.NexusParser.*;
+import static io.trygvis.esper.testing.nexus.SearchNGResponseParser.*;
import org.apache.commons.io.*;
import org.apache.commons.lang.*;
import static org.codehaus.httpcache4j.HTTPMethod.*;
diff --git a/src/main/java/io/trygvis/esper/testing/nexus/NexusParser.java b/src/main/java/io/trygvis/esper/testing/nexus/SearchNGResponseParser.java
index 6bfca99..2a5515c 100755
--- a/src/main/java/io/trygvis/esper/testing/nexus/NexusParser.java
+++ b/src/main/java/io/trygvis/esper/testing/nexus/SearchNGResponseParser.java
@@ -15,7 +15,7 @@ import java.util.HashSet;
import java.util.List;
import java.util.Set;
-public class NexusParser {
+public class SearchNGResponseParser {
public static final STAXEventReader xmlReader = new STAXEventReader();
public static ArtifactSearchResult parseDocument(InputStream is) throws XMLStreamException {
diff --git a/src/test/java/io/trygvis/esper/testing/nexus/TestXmlParsing.java b/src/test/java/io/trygvis/esper/testing/nexus/TestXmlParsing.java
index b52d894..6495d86 100755
--- a/src/test/java/io/trygvis/esper/testing/nexus/TestXmlParsing.java
+++ b/src/test/java/io/trygvis/esper/testing/nexus/TestXmlParsing.java
@@ -11,7 +11,7 @@ import java.util.*;
public class TestXmlParsing extends TestCase {
public void testProjectParsing() throws Exception {
try (InputStream stream = getClass().getResourceAsStream("/nexus/search-1.xml")) {
- ArtifactSearchResult result = NexusParser.parseDocument(stream);
+ ArtifactSearchResult result = SearchNGResponseParser.parseDocument(stream);
List<ArtifactXml> list = result.artifacts;