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) ->