Skip to content

Commit afa9353

Browse files
committed
---
yaml --- r: 3941 b: refs/heads/pubsub-alpha c: de2a6b4 h: refs/heads/master i: 3939: 64cbb09
1 parent 93c008a commit afa9353

9 files changed

Lines changed: 14 additions & 15 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 36a62ef856d199f8efd09501b5ba65c422c01f23
33
refs/heads/travis: e21ee7b88a5edc3f3d8c71f90c3fc32abf7e8dd6
44
refs/heads/gh-pages: 7406918e071dd2c5677a638ae2a06e7592b6542c
5-
refs/heads/pubsub-alpha: f66ea60be34714f6279aaa4eadd3162679daee1a
5+
refs/heads/pubsub-alpha: de2a6b4c2191223e176765af43bab313f2ce3596
66
refs/heads/update-datastore: 47aae517c2cb33f1dccd909adaced73ec9d0f4df
77
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444
88
refs/tags/v0.0.10: 207ebd2a3472fddee69fe1298eb90429e3306efd

branches/pubsub-alpha/gcloud-java-compute/src/main/java/com/google/gcloud/compute/Address.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ public final int hashCode() {
172172
return Objects.hash(super.hashCode(), options);
173173
}
174174

175-
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
176-
in.defaultReadObject();
175+
private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException {
176+
input.defaultReadObject();
177177
this.compute = options.service();
178178
}
179179

branches/pubsub-alpha/gcloud-java-compute/src/main/java/com/google/gcloud/compute/Compute.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,7 @@ public static SnapshotListOption fields(SnapshotField... fields) {
16681668
Snapshot getSnapshot(String snapshot, SnapshotOption... options);
16691669

16701670
/**
1671-
* Lists all snapshots.
1671+
* Lists snapshots.
16721672
*
16731673
* @throws ComputeException upon failure
16741674
*/

branches/pubsub-alpha/gcloud-java-compute/src/main/java/com/google/gcloud/compute/ComputeImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,6 @@ public Snapshot apply(com.google.api.services.compute.model.Snapshot snapshot) {
10071007
@Override
10081008
public Operation deleteSnapshot(SnapshotId snapshot, OperationOption... options) {
10091009
return deleteSnapshot(snapshot.snapshot(), options);
1010-
10111010
}
10121011

10131012
@Override

branches/pubsub-alpha/gcloud-java-compute/src/main/java/com/google/gcloud/compute/Operation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -792,8 +792,8 @@ com.google.api.services.compute.model.Operation toPb() {
792792
return operationPb;
793793
}
794794

795-
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
796-
in.defaultReadObject();
795+
private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException {
796+
input.defaultReadObject();
797797
this.compute = options.service();
798798
}
799799

branches/pubsub-alpha/gcloud-java-compute/src/main/java/com/google/gcloud/compute/Snapshot.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ public final int hashCode() {
199199
return Objects.hash(super.hashCode(), options);
200200
}
201201

202-
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
203-
in.defaultReadObject();
202+
private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException {
203+
input.defaultReadObject();
204204
this.compute = options.service();
205205
}
206206

branches/pubsub-alpha/gcloud-java-compute/src/test/java/com/google/gcloud/compute/AddressTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ public class AddressTest {
5757
private static final AddressInfo.RegionForwardingUsage REGION_FORWARDING_USAGE =
5858
new AddressInfo.RegionForwardingUsage(REGION_FORWARDING_RULES);
5959

60-
private Compute serviceMockReturnsOptions = createStrictMock(Compute.class);
61-
private ComputeOptions mockOptions = createMock(ComputeOptions.class);
60+
private final Compute serviceMockReturnsOptions = createStrictMock(Compute.class);
61+
private final ComputeOptions mockOptions = createMock(ComputeOptions.class);
6262
private Compute compute;
6363
private Address globalForwardingAddress;
6464
private Address instanceAddress;

branches/pubsub-alpha/gcloud-java-compute/src/test/java/com/google/gcloud/compute/OperationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ public class OperationTest {
7676
private static final RegionOperationId REGION_OPERATION_ID =
7777
RegionOperationId.of("project", "region", "op");
7878

79-
private Compute serviceMockReturnsOptions = createStrictMock(Compute.class);
80-
private ComputeOptions mockOptions = createMock(ComputeOptions.class);
79+
private final Compute serviceMockReturnsOptions = createStrictMock(Compute.class);
80+
private final ComputeOptions mockOptions = createMock(ComputeOptions.class);
8181
private Compute compute;
8282
private Operation globalOperation;
8383
private Operation regionOperation;

branches/pubsub-alpha/gcloud-java-compute/src/test/java/com/google/gcloud/compute/SnapshotTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ public class SnapshotTest {
4949
private static final SnapshotInfo.StorageBytesStatus STORAGE_BYTES_STATUS =
5050
SnapshotInfo.StorageBytesStatus.UP_TO_DATE;
5151

52-
private Compute serviceMockReturnsOptions = createStrictMock(Compute.class);
53-
private ComputeOptions mockOptions = createMock(ComputeOptions.class);
52+
private final Compute serviceMockReturnsOptions = createStrictMock(Compute.class);
53+
private final ComputeOptions mockOptions = createMock(ComputeOptions.class);
5454
private Compute compute;
5555
private Snapshot snapshot;
5656
private Snapshot expectedSnapshot;

0 commit comments

Comments
 (0)