Skip to content

Commit 43df743

Browse files
committed
---
yaml --- r: 5903 b: refs/heads/tswast-patch-1 c: f09cae4 h: refs/heads/master i: 5901: 77b7d25 5899: 9a0986a 5895: fbe0845 5887: be8ff24
1 parent 414caa9 commit 43df743

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: 65b21ade01220a72b3b02ce1e9ec6271a20184bb
60+
refs/heads/tswast-patch-1: f09cae4bb0578b98df815695b0aefd49af5db1bb
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.google.gcloud</groupId>
55
<artifactId>gcloud-java</artifactId>
66
<packaging>jar</packaging>
7-
<version>0.0.2</version>
7+
<version>0.0.3</version>
88
<name>GCloud Java</name>
99
<url>https://github.com/GoogleCloudPlatform/gcloud-java</url>
1010
<description>

branches/tswast-patch-1/src/main/java/com/google/gcloud/ServiceOptions.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public B httpTransport(HttpTransport httpTransport) {
7575
return self();
7676
}
7777

78-
public B authConfig(AuthCredentials authCredentials) {
78+
public B authCredentials(AuthCredentials authCredentials) {
7979
this.authCredentials = authCredentials;
8080
return self();
8181
}
@@ -89,7 +89,7 @@ public B retryParams(RetryParams retryParams) {
8989
protected ServiceOptions(Builder<?> builder) {
9090
host = firstNonNull(builder.host, DEFAULT_HOST);
9191
httpTransport = firstNonNull(builder.httpTransport, defaultHttpTransport());
92-
authCredentials = firstNonNull(builder.authCredentials, defaultAuthConfig());
92+
authCredentials = firstNonNull(builder.authCredentials, defaultAuthCredentials());
9393
retryParams = builder.retryParams;
9494
}
9595

@@ -111,7 +111,7 @@ private static HttpTransport defaultHttpTransport() {
111111
return new NetHttpTransport();
112112
}
113113

114-
public static AuthCredentials defaultAuthConfig() {
114+
private static AuthCredentials defaultAuthCredentials() {
115115
// Consider App Engine. This will not be needed once issue #21 is fixed.
116116
if (appEngineAppId() != null) {
117117
try {
@@ -183,7 +183,7 @@ public HttpTransport httpTransport() {
183183
return httpTransport;
184184
}
185185

186-
public AuthCredentials authConfig() {
186+
public AuthCredentials authCredentials() {
187187
return authCredentials;
188188
}
189189

@@ -192,7 +192,7 @@ public RetryParams retryParams() {
192192
}
193193

194194
public HttpRequestInitializer httpRequestInitializer() {
195-
return authConfig().httpRequestInitializer(httpTransport, scopes());
195+
return authCredentials().httpRequestInitializer(httpTransport, scopes());
196196
}
197197

198198
public abstract Builder<?> toBuilder();

branches/tswast-patch-1/src/main/java/com/google/gcloud/datastore/BaseEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public B remove(String name) {
127127
return self();
128128
}
129129

130-
public B set(String name, Value<?> value) {
130+
public B set(String name, Value value) {
131131
properties.put(name, value);
132132
return self();
133133
}

branches/tswast-patch-1/src/test/java/com/google/gcloud/datastore/DatastoreServiceOptionsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ public void testToBuilder() throws Exception {
8282
assertEquals(original.host(), copy.host());
8383
assertEquals(original.force(), copy.force());
8484
assertEquals(original.retryParams(), copy.retryParams());
85-
assertEquals(original.authConfig(), copy.authConfig());
85+
assertEquals(original.authCredentials(), copy.authCredentials());
8686
}
8787
}

0 commit comments

Comments
 (0)