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/tswast-patch-1/gcloud-java-contrib/gcloud-java-nio/src/main/java/com/google/cloud/storage/contrib/nio/CloudStorageConfiguration.java
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -82,8 +82,9 @@ public static final class Builder {
Copy file name to clipboardExpand all lines: branches/tswast-patch-1/gcloud-java-contrib/gcloud-java-nio/src/main/java/com/google/cloud/storage/contrib/nio/CloudStorageFileSystem.java
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,8 @@
38
38
importjavax.annotation.CheckReturnValue;
39
39
importjavax.annotation.Nullable;
40
40
importjavax.annotation.concurrent.Immutable;
41
+
importjavax.annotation.CheckReturnValue;
42
+
importjavax.annotation.concurrent.ThreadSafe;
41
43
42
44
/**
43
45
* Google Cloud Storage {@link FileSystem} implementation.
Copy file name to clipboardExpand all lines: branches/tswast-patch-1/gcloud-java-contrib/gcloud-java-nio/src/main/java/com/google/cloud/storage/contrib/nio/CloudStorageFileSystemProvider.java
+19-6Lines changed: 19 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -70,10 +70,16 @@
70
70
71
71
importjavax.annotation.Nullable;
72
72
importjavax.annotation.concurrent.ThreadSafe;
73
+
importjavax.inject.Singleton;
73
74
74
75
/**
75
76
* Google Cloud Storage {@link FileSystemProvider} implementation.
77
+
*
78
+
* <p><b>Note:</b> This class should never be used directly. This class is instantiated by the
79
+
* service loader and called through a standardized API, e.g. {@link java.nio.file.Files}. However
80
+
* the javadocs in this class serve as useful documentation for the behavior of the GCS NIO library.
Copy file name to clipboardExpand all lines: branches/tswast-patch-1/gcloud-java-contrib/gcloud-java-nio/src/test/java/com/google/cloud/storage/contrib/nio/it/ITGcsNio.java
+13-15Lines changed: 13 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -58,17 +58,16 @@
58
58
importjava.util.logging.Logger;
59
59
60
60
/**
61
-
* Integration test for gcloud-nio. This test actually talks to GCS (you need an account).
62
-
* Tests both reading and writing.
61
+
* Integration test for gcloud-nio.
63
62
*
64
-
* You *must* set the GOOGLE_APPLICATION_CREDENTIALS environment variable
65
-
* for this test to work. It must contain the name of a local file that contains
66
-
* your Service Account JSON Key.
63
+
* <p>This test actually talks to GCS (you need an account) and tests both reading and writing. You
64
+
* *must* set the {@code GOOGLE_APPLICATION_CREDENTIALS} environment variable for this test to work.
65
+
* It must contain the name of a local file that contains your Service Account JSON Key.
67
66
*
68
-
* The instructions for how to get the Service Account JSON Key are
67
+
* <p>The instructions for how to get the Service Account JSON Key are
69
68
* at https://cloud.google.com/storage/docs/authentication?hl=en#service_accounts
70
69
*
71
-
* The short version is this: go to cloud.google.com/console,
70
+
* <p>The short version is this: go to cloud.google.com/console,
72
71
* select your project, search for "API manager", click "Credentials",
73
72
* click "create credentials/service account key", new service account,
74
73
* JSON. The contents of the file that's sent to your browsers is your
Copy file name to clipboardExpand all lines: branches/tswast-patch-1/gcloud-java-storage/src/main/java/com/google/cloud/storage/testing/FakeStorageRpc.java
0 commit comments