You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: branches/update-datastore/gcloud-java-datastore/src/main/java/com/google/gcloud/datastore/DatastoreOptions.java
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,8 @@ public class DatastoreOptions extends ServiceOptions<Datastore, DatastoreRpc, Da
Copy file name to clipboardExpand all lines: branches/update-datastore/gcloud-java-storage/src/main/java/com/google/gcloud/storage/BlobReadChannel.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ public interface BlobReadChannel extends ReadableByteChannel, Closeable,
50
50
voidchunkSize(intchunkSize);
51
51
52
52
/**
53
-
* Capture the read channel state so that it can be saved and restored afterwards.
53
+
* Captures the read channel state so that it can be saved and restored afterwards.
54
54
*
55
55
* @return a {@link RestorableState} object that contains the read channel state and can restore
Copy file name to clipboardExpand all lines: branches/update-datastore/gcloud-java-storage/src/main/java/com/google/gcloud/storage/BlobWriteChannel.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ public interface BlobWriteChannel extends WritableByteChannel, Closeable,
39
39
voidchunkSize(intchunkSize);
40
40
41
41
/**
42
-
* Capture the write channel state so that it can be saved and restored afterwards. The original
42
+
* Captures the write channel state so that it can be saved and restored afterwards. The original
43
43
* {@code BlobWriteChannel} and the restored one should not both be used. Closing one channel
44
44
* causes the other channel to close, subsequent writes will fail.
Copy file name to clipboardExpand all lines: branches/update-datastore/gcloud-java-storage/src/test/java/com/google/gcloud/storage/BlobReadChannelImplTest.java
+29-34Lines changed: 29 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,11 @@
16
16
17
17
packagecom.google.gcloud.storage;
18
18
19
+
importstaticorg.easymock.EasyMock.anyObject;
20
+
importstaticorg.easymock.EasyMock.createMock;
21
+
importstaticorg.easymock.EasyMock.expect;
22
+
importstaticorg.easymock.EasyMock.expectLastCall;
23
+
importstaticorg.easymock.EasyMock.replay;
19
24
importstaticorg.easymock.EasyMock.verify;
20
25
importstaticorg.junit.Assert.assertArrayEquals;
21
26
importstaticorg.junit.Assert.assertEquals;
@@ -27,7 +32,6 @@
27
32
importcom.google.gcloud.spi.StorageRpc;
28
33
importcom.google.gcloud.spi.StorageRpcFactory;
29
34
30
-
importorg.easymock.EasyMock;
31
35
importorg.junit.After;
32
36
importorg.junit.Before;
33
37
importorg.junit.Test;
@@ -49,16 +53,16 @@ public class BlobReadChannelImplTest {
0 commit comments