From a1a01f88b1ab3443fda587c845d0a0edc6a6829e Mon Sep 17 00:00:00 2001 From: BenWhitehead Date: Wed, 12 Jul 2023 16:26:12 -0400 Subject: [PATCH] chore: review cleanup --- .../com/google/cloud/storage/HttpUploadSessionBuilder.java | 2 +- .../cloud/storage/HttpWritableByteChannelSessionBuilder.java | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/google-cloud-storage/src/main/java/com/google/cloud/storage/HttpUploadSessionBuilder.java b/google-cloud-storage/src/main/java/com/google/cloud/storage/HttpUploadSessionBuilder.java index dec74929ff..a673c1f9b4 100644 --- a/google-cloud-storage/src/main/java/com/google/cloud/storage/HttpUploadSessionBuilder.java +++ b/google-cloud-storage/src/main/java/com/google/cloud/storage/HttpUploadSessionBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-storage/src/main/java/com/google/cloud/storage/HttpWritableByteChannelSessionBuilder.java b/google-cloud-storage/src/main/java/com/google/cloud/storage/HttpWritableByteChannelSessionBuilder.java index 29b82ad905..19abf0928b 100644 --- a/google-cloud-storage/src/main/java/com/google/cloud/storage/HttpWritableByteChannelSessionBuilder.java +++ b/google-cloud-storage/src/main/java/com/google/cloud/storage/HttpWritableByteChannelSessionBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -132,8 +132,6 @@ BufferedResumableUploadBuilder buffered(BufferHandle bufferHandle) { // To ensure we are using the specified values at the point in time they are bound to the // function read them into local variables which will be closed over rather than the class // fields. - // ByteStringStrategy boundStrategy = byteStringStrategy; - // Hasher boundHasher = hasher; RetryingDependencies boundDeps = deps; ResultRetryAlgorithm boundAlg = alg; return (start, resultFuture) ->