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