Skip to content

Commit

Permalink
Merge pull request #22 from GoogleCloudPlatform/sfan-sts03
Browse files Browse the repository at this point in the history
Add region tags to exclude license
  • Loading branch information
Shun Fan committed Jul 22, 2015
2 parents 884eba7 + 80cf50d commit 9f976bf
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

// [START all]
package com.google.cloud.storage.storagetransfer.samples;

import com.google.api.services.storagetransfer.Storagetransfer;
Expand Down Expand Up @@ -101,4 +101,5 @@ public static void main(String[] args) {
e.printStackTrace();
}
}
}
}
//[END all]
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

// [START all]
package com.google.cloud.storage.storagetransfer.samples;

import com.google.api.services.storagetransfer.Storagetransfer;
Expand Down Expand Up @@ -98,4 +98,5 @@ public static void main(String[] args) {
e.printStackTrace();
}
}
}
}
//[END all]
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

// [START all]
package com.google.cloud.storage.storagetransfer.samples;

import com.google.api.services.storagetransfer.Storagetransfer;
Expand Down Expand Up @@ -70,4 +70,5 @@ public static void main(String[] args) {
e.printStackTrace();
}
}
}
}
//[END all]
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

// [START all]
package com.google.cloud.storage.storagetransfer.samples;

import com.google.api.client.auth.oauth2.Credential;
Expand Down Expand Up @@ -95,4 +95,5 @@ public boolean handleResponse(final HttpRequest request, final HttpResponse resp
request.setIOExceptionHandler(new HttpBackOffIOExceptionHandler(new ExponentialBackOff())
.setSleeper(sleeper));
}
}
}
//[END all]
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

// [START all]
package com.google.cloud.storage.storagetransfer.samples;

import com.google.api.client.googleapis.auth.oauth2.GoogleCredential;
Expand Down Expand Up @@ -76,4 +76,5 @@ public static Storagetransfer createStorageTransferClient(HttpTransport httpTran
return new Storagetransfer.Builder(httpTransport, jsonFactory, initializer)
.setApplicationName("storagetransfer-sample").build();
}
}
}
//[END all]
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

// [START all]
package com.google.cloud.storage.storagetransfer.samples;

import com.google.api.services.storagetransfer.model.Date;
Expand Down Expand Up @@ -75,3 +75,4 @@ public static TimeOfDay createTimeOfDay(String timeString) throws NumberFormatEx
return time;
}
}
//[END all]

0 comments on commit 9f976bf

Please sign in to comment.