aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-12-03 09:47:23 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2012-12-07 20:06:50 +0100
commit6d1dc3b1ca077312674ef05cd88ca5a7858bffd2 (patch)
tree921502006262163710391594c4e3843f4516d583
parent041bab815c5c554169835993735b8e5c35d436ed (diff)
downloadesper-testing-6d1dc3b1ca077312674ef05cd88ca5a7858bffd2.tar.gz
esper-testing-6d1dc3b1ca077312674ef05cd88ca5a7858bffd2.tar.bz2
esper-testing-6d1dc3b1ca077312674ef05cd88ca5a7858bffd2.tar.xz
esper-testing-6d1dc3b1ca077312674ef05cd88ca5a7858bffd2.zip
o Renaming NexusParser to SearchNGResponseParser.
-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;