From 97ef14077682fd01b8c4e8e97d2676def62258ec Mon Sep 17 00:00:00 2001 From: Jason King Date: Tue, 13 Dec 2011 12:59:12 +0000 Subject: [PATCH] Issue 695: Fixed javadoc and incorrect class in JAXB parsing test --- .../jclouds/tmrk/enterprisecloud/domain/network/Networks.java | 2 +- .../tmrk/enterprisecloud/xml/NetworksJAXBParsingTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sandbox-providers/tmrk-enterprisecloud/src/main/java/org/jclouds/tmrk/enterprisecloud/domain/network/Networks.java b/sandbox-providers/tmrk-enterprisecloud/src/main/java/org/jclouds/tmrk/enterprisecloud/domain/network/Networks.java index c436a1dfe2..a888dd2f84 100644 --- a/sandbox-providers/tmrk-enterprisecloud/src/main/java/org/jclouds/tmrk/enterprisecloud/domain/network/Networks.java +++ b/sandbox-providers/tmrk-enterprisecloud/src/main/java/org/jclouds/tmrk/enterprisecloud/domain/network/Networks.java @@ -33,7 +33,7 @@ import java.util.Set; import static com.google.common.base.Preconditions.checkNotNull; /** - * Networks is more than a simple wrapper as it extends BaseResource. + * Networks is more than a simple wrapper as it extends Resource. * @author Jason King * */ diff --git a/sandbox-providers/tmrk-enterprisecloud/src/test/java/org/jclouds/tmrk/enterprisecloud/xml/NetworksJAXBParsingTest.java b/sandbox-providers/tmrk-enterprisecloud/src/test/java/org/jclouds/tmrk/enterprisecloud/xml/NetworksJAXBParsingTest.java index e0831f991b..623ada1689 100644 --- a/sandbox-providers/tmrk-enterprisecloud/src/test/java/org/jclouds/tmrk/enterprisecloud/xml/NetworksJAXBParsingTest.java +++ b/sandbox-providers/tmrk-enterprisecloud/src/test/java/org/jclouds/tmrk/enterprisecloud/xml/NetworksJAXBParsingTest.java @@ -87,7 +87,7 @@ public class NetworksJAXBParsingTest extends BaseRestClientTest { @Test public void testParseNetworksWithJAXB() throws Exception { Method method = NetworkAsyncClient.class.getMethod("getNetworks",URI.class); - HttpRequest request = factory(LocationAsyncClient.class).createRequest(method, new URI("/1")); + HttpRequest request = factory(NetworkAsyncClient.class).createRequest(method, new URI("/1")); assertResponseParserClassEquals(method, request, ParseXMLWithJAXB.class); Function parser = (Function) RestAnnotationProcessor @@ -104,7 +104,7 @@ public class NetworksJAXBParsingTest extends BaseRestClientTest { @Test public void testParseNetworkWithJAXB() throws Exception { Method method = NetworkAsyncClient.class.getMethod("getNetwork",URI.class); - HttpRequest request = factory(LocationAsyncClient.class).createRequest(method, new URI("/1")); + HttpRequest request = factory(NetworkAsyncClient.class).createRequest(method, new URI("/1")); assertResponseParserClassEquals(method, request, ParseXMLWithJAXB.class); Function parser = (Function) RestAnnotationProcessor