Skip to content

Commit 8d37c32

Browse files
committed
Merge pull request #528 from mziccard/add-final-to-iterable
Make infoIterable final in LazyBlobIterable and LazyTableIterable
2 parents b8ce8d2 + 7c0a746 commit 8d37c32

File tree

2 files changed

+2
-2
lines changed
  • gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery
  • gcloud-java-storage/src/main/java/com/google/gcloud/storage

2 files changed

+2
-2
lines changed

gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/Dataset.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private static class LazyTableIterable implements Iterable<Table>, Serializable
6969
private static final long serialVersionUID = 3312744215731674032L;
7070

7171
private final BigQueryOptions options;
72-
private Iterable<BaseTableInfo> infoIterable;
72+
private final Iterable<BaseTableInfo> infoIterable;
7373
private transient BigQuery bigquery;
7474

7575
public LazyTableIterable(BigQueryOptions options, Iterable<BaseTableInfo> infoIterable) {

gcloud-java-storage/src/main/java/com/google/gcloud/storage/Bucket.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ private static class LazyBlobIterable implements Iterable<Blob>, Serializable {
8181
private static final long serialVersionUID = -3092290247725378832L;
8282

8383
private final StorageOptions options;
84-
private Iterable<BlobInfo> infoIterable;
84+
private final Iterable<BlobInfo> infoIterable;
8585
private transient Storage storage;
8686

8787
public LazyBlobIterable(StorageOptions options, Iterable<BlobInfo> infoIterable) {

0 commit comments

Comments
 (0)