From ccf9b62b47b7a39fd6a005c708437f9bf741506f Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 19 Apr 2016 13:30:17 +0200 Subject: [PATCH] Fix minor style errros --- .../src/main/java/com/google/cloud/BatchResult.java | 2 +- .../src/test/java/com/google/cloud/dns/DnsBatchResultTest.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gcloud-java-core/src/main/java/com/google/cloud/BatchResult.java b/gcloud-java-core/src/main/java/com/google/cloud/BatchResult.java index 3d5b06fd1db6..fb78409ea31e 100644 --- a/gcloud-java-core/src/main/java/com/google/cloud/BatchResult.java +++ b/gcloud-java-core/src/main/java/com/google/cloud/BatchResult.java @@ -34,7 +34,7 @@ public abstract class BatchResult { private T result; private boolean completed = false; private E error; - private List> toBeNotified = new LinkedList<>(); + private final List> toBeNotified = new LinkedList<>(); /** * Returns {@code true} if the batch has been completed and the result is available; {@code false} diff --git a/gcloud-java-dns/src/test/java/com/google/cloud/dns/DnsBatchResultTest.java b/gcloud-java-dns/src/test/java/com/google/cloud/dns/DnsBatchResultTest.java index c2b1c10b4741..96ca99cc9e3e 100644 --- a/gcloud-java-dns/src/test/java/com/google/cloud/dns/DnsBatchResultTest.java +++ b/gcloud-java-dns/src/test/java/com/google/cloud/dns/DnsBatchResultTest.java @@ -21,7 +21,6 @@ import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; -import com.google.cloud.BaseServiceException; import com.google.cloud.BatchResult; import org.easymock.EasyMock;