Modify class name to remove checkstyleTest warning (#1281)

This commit is contained in:
Rachel Guan 2021-08-13 14:16:58 -04:00 committed by GitHub
parent aae06a25fc
commit 0d43f19e30

View file

@ -289,7 +289,7 @@ class InvoicingPipelineTest {
setTmForTest(jpaTm()); setTmForTest(jpaTm());
setupCloudSql(); setupCloudSql();
PCollection<BillingEvent> billingEvents = InvoicingPipeline.readFromCloudSql(options, pipeline); PCollection<BillingEvent> billingEvents = InvoicingPipeline.readFromCloudSql(options, pipeline);
billingEvents = billingEvents.apply(new changeDomainRepo()); billingEvents = billingEvents.apply(new ChangeDomainRepo());
PAssert.that(billingEvents).containsInAnyOrder(INPUT_EVENTS); PAssert.that(billingEvents).containsInAnyOrder(INPUT_EVENTS);
pipeline.run().waitUntilFinish(); pipeline.run().waitUntilFinish();
removeTmOverrideForTest(); removeTmOverrideForTest();
@ -590,7 +590,7 @@ class InvoicingPipelineTest {
return persistResource(billingEventBuilder.build()); return persistResource(billingEventBuilder.build());
} }
private static class changeDomainRepo private static class ChangeDomainRepo
extends PTransform<PCollection<BillingEvent>, PCollection<BillingEvent>> { extends PTransform<PCollection<BillingEvent>, PCollection<BillingEvent>> {
@Override @Override
public PCollection<BillingEvent> expand(PCollection<BillingEvent> input) { public PCollection<BillingEvent> expand(PCollection<BillingEvent> input) {