Skip to content

Commit dc17c96

Browse files
author
Jerjou Cheng
committed
Add annotation for including service construction.
1 parent 797ba4b commit dc17c96

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)