Skip to content

Commit b60233e

Browse files
committed
Merge pull request #31 from GoogleCloudPlatform/storage
Add annotation for including service construction.
2 parents 797ba4b + dc17c96 commit b60233e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

storage/json-api/src/main/java/StorageSample.java

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public class StorageSample {
5252
private static final JsonFactory JSON_FACTORY = JacksonFactory.getDefaultInstance();
5353
private static final String TEST_FILENAME = "json-test.txt";
5454

55+
// [START get_service]
5556
private static Storage storageService;
5657

5758
/**
@@ -66,6 +67,7 @@ private static Storage getService() throws IOException, GeneralSecurityException
6667
}
6768
return storageService;
6869
}
70+
// [END get_service]
6971

7072
// [START list_bucket]
7173
/**

0 commit comments

Comments
 (0)