Skip to content

Commit

Permalink
Merge branch '__rultor'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Jan 17, 2019
2 parents 86a98c9 + f5b1fdb commit c003411
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Expand Up @@ -38,7 +38,7 @@
* @todo #4:30min Add methods for API entry points to this class, once we find
* the actual API docs for Zold.
*/
public final class RestfulZoldNet implements ZoldNet {
public final class RestfulZoldWts implements ZoldWts {

/**
* Apache HttpClient which sends the requests.
Expand All @@ -54,7 +54,7 @@ public final class RestfulZoldNet implements ZoldNet {
* Constructor.
* @param baseUri Base URI.
*/
public RestfulZoldNet(final URI baseUri) {
public RestfulZoldWts(final URI baseUri) {
this(
HttpClients.custom()
.setMaxConnPerRoute(10)
Expand All @@ -72,7 +72,7 @@ public RestfulZoldNet(final URI baseUri) {
* @param client Given HTTP Client.
* @param baseUri Base URI.
*/
public RestfulZoldNet(final HttpClient client, final URI baseUri) {
public RestfulZoldWts(final HttpClient client, final URI baseUri) {
this.client = client;
this.baseUri = baseUri;
}
Expand Down
Expand Up @@ -31,6 +31,6 @@
* @version $Id$
* @since 0.0.1
*/
public interface ZoldNet {
public interface ZoldWts {

}
Expand Up @@ -37,16 +37,16 @@
* @version $Id$
* @since 0.0.1
*/
public final class RestfulZoldNetTestCase {
public final class RestfulWtsTestCase {

/**
* {@link RestfulZoldNet} can be instantiated.
* {@link RestfulWts} can be instantiated.
*/
@Test
public void isInstantiated() {
MatcherAssert.assertThat(
new RestfulZoldNet(URI.create("localhost:8080/zold")),
Matchers.instanceOf(ZoldNet.class)
new RestfulZoldWts(URI.create("localhost:8080/zold")),
Matchers.instanceOf(ZoldWts.class)
);
}
}

0 comments on commit c003411

Please sign in to comment.