Skip to content

Commit f1fc3f6

Browse files
committed
Per Zendesk's request, s/ZenDesk/Zendesk/g (part 3)
1 parent df00540 commit f1fc3f6

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
ZenDesk Java Client
1+
Zendesk Java Client
22
===================
33

4-
This is a ZenDesk client implementation written in Java using AsyncHttpClient and Jackson.
4+
This is a Zendesk client implementation written in Java using AsyncHttpClient and Jackson.
55

66
Using the API
77
-------------
88

9-
Start by creating a `ZenDesk` instance
9+
Start by creating a `Zendesk` instance
1010

11-
ZenDesk zd = new ZenDesk.Builder("https://{{your domain}}.zendesk.com")
11+
Zendesk zd = new Zendesk.Builder("https://{{your domain}}.zendesk.com")
1212
.setUsername("...")
1313
.setToken("...") // or .setPassword("...")
1414
.build();
1515

1616
If you are behind a proxy, or want to otherwise control the lifecycle of the `AsyncHttpClient` instance
1717
you should pass that through to the builder too. If you don't pass an `AsyncHttpClient` instance to the builder
18-
it will create its own which will be closed by the `ZenDesk.close()` method.
18+
it will create its own which will be closed by the `Zendesk.close()` method.
1919

2020
Where methods return paged data sets, an `Iterable` is returned that will lazy-fetch one page at a time until
2121
all records have been fetched, so e.g.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<version>0.1.1-SNAPSHOT</version>
2929

3030
<name>zendesk-java-client</name>
31-
<description>Java client for the ZenDesk API</description>
31+
<description>Java client for the Zendesk API</description>
3232
<url>https://github.com/cloudbees/zendesk-java-client</url>
3333
<inceptionYear>2013</inceptionYear>
3434
<licenses>

src/test/java/org/zendesk/client/v2/RealSmokeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class RealSmokeTest {
3737

3838
@BeforeClass
3939
public static void loadConfig() {
40-
config = ZenDeskConfig.load();
40+
config = ZendeskConfig.load();
4141
assumeThat("We have a configuration", config, notNullValue());
4242
assertThat("Configuration has an url", config.getProperty("url"), notNullValue());
4343
}

src/test/java/org/zendesk/client/v2/ZenDeskConfig.java renamed to src/test/java/org/zendesk/client/v2/Zendesk_Config.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
* @author stephenc
99
* @since 04/04/2013 13:53
1010
*/
11-
public final class ZenDeskConfig {
12-
private ZenDeskConfig() {
11+
public final class Zendesk_Config {
12+
private Zendesk_Config() {
1313
throw new IllegalAccessError("utility class");
1414
}
1515

1616
public static Properties load() {
17-
InputStream is = ZenDeskConfig.class.getResourceAsStream("/zendesk.properties");
17+
InputStream is = Zendesk_Config.class.getResourceAsStream("/zendesk.properties");
1818
if (is == null) {
1919
return null;
2020
}

0 commit comments

Comments
 (0)