diff --git a/checkstyle.xml b/checkstyle.xml index 4a2e15009d..d5e8317391 100644 --- a/checkstyle.xml +++ b/checkstyle.xml @@ -76,6 +76,13 @@ page at http://checkstyle.sourceforge.net/config.html --> + + + + + + + diff --git a/sdk/src/main/java/com/google/cloud/dataflow/sdk/runners/inprocess/ImmutabilityCheckingBundleFactory.java b/sdk/src/main/java/com/google/cloud/dataflow/sdk/runners/inprocess/ImmutabilityCheckingBundleFactory.java index 908636a2c2..67535f8bed 100644 --- a/sdk/src/main/java/com/google/cloud/dataflow/sdk/runners/inprocess/ImmutabilityCheckingBundleFactory.java +++ b/sdk/src/main/java/com/google/cloud/dataflow/sdk/runners/inprocess/ImmutabilityCheckingBundleFactory.java @@ -17,7 +17,6 @@ import static com.google.common.base.Preconditions.checkNotNull; -import com.google.api.client.util.Throwables; import com.google.cloud.dataflow.sdk.coders.Coder; import com.google.cloud.dataflow.sdk.coders.CoderException; import com.google.cloud.dataflow.sdk.runners.inprocess.InProcessPipelineRunner.CommittedBundle; @@ -98,7 +97,7 @@ public UncommittedBundle add(WindowedValue element) { mutationDetectors.put( element, MutationDetectors.forValueWithCoder(element.getValue(), coder)); } catch (CoderException e) { - throw Throwables.propagate(e); + throw new RuntimeException(e); } underlying.add(element); return this;