Skip to content

Commit

Permalink
Merge pull request #31 from GoogleCloudPlatform/storage
Browse files Browse the repository at this point in the history
Add annotation for including service construction.
  • Loading branch information
jerjou committed Sep 2, 2015
2 parents 797ba4b + dc17c96 commit b60233e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions storage/json-api/src/main/java/StorageSample.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public class StorageSample {
private static final JsonFactory JSON_FACTORY = JacksonFactory.getDefaultInstance();
private static final String TEST_FILENAME = "json-test.txt";

// [START get_service]
private static Storage storageService;

/**
Expand All @@ -66,6 +67,7 @@ private static Storage getService() throws IOException, GeneralSecurityException
}
return storageService;
}
// [END get_service]

// [START list_bucket]
/**
Expand Down

0 comments on commit b60233e

Please sign in to comment.