This is an automated email from the ASF dual-hosted git repository. reuvenlax pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push: new f52f15a apply spotless on master new 1a1be9c Merge pull request #7548: Apply spotless on master f52f15a is described below commit f52f15af3029b34ee6165734799f69066082b4c1 Author: Ćukasz Gajowy <lukasz.gaj...@gmail.com> AuthorDate: Thu Jan 17 16:22:10 2019 +0100 apply spotless on master --- .../org/apache/beam/sdk/schemas/JavaFieldSchemaTest.java | 16 ++++++++-------- .../org/apache/beam/sdk/schemas/utils/TestPOJOs.java | 7 +++---- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/sdks/java/core/src/test/java/org/apache/beam/sdk/schemas/JavaFieldSchemaTest.java b/sdks/java/core/src/test/java/org/apache/beam/sdk/schemas/JavaFieldSchemaTest.java index 7d5f42e..4d3db7a 100644 --- a/sdks/java/core/src/test/java/org/apache/beam/sdk/schemas/JavaFieldSchemaTest.java +++ b/sdks/java/core/src/test/java/org/apache/beam/sdk/schemas/JavaFieldSchemaTest.java @@ -466,11 +466,10 @@ public class JavaFieldSchemaTest { SimplePOJO simplePojo = createSimple("string"); List<SimplePOJO> simplePojoList = ImmutableList.of(simplePojo, simplePojo); - List<List<SimplePOJO>> simplePojoListOfList = - ImmutableList.of(simplePojoList, simplePojoList); + List<List<SimplePOJO>> simplePojoListOfList = ImmutableList.of(simplePojoList, simplePojoList); - PojoWithNestedArray converted = registry.getFromRowFunction(PojoWithNestedArray.class) - .apply(nestedRow); + PojoWithNestedArray converted = + registry.getFromRowFunction(PojoWithNestedArray.class).apply(nestedRow); assertEquals(simplePojoListOfList, converted.pojos); } @@ -487,11 +486,12 @@ public class JavaFieldSchemaTest { SimplePOJO simplePojo = createSimple("string"); List<SimplePOJO> simplePojoList = ImmutableList.of(simplePojo, simplePojo); - List<List<SimplePOJO>> simplePojoListOfList = - ImmutableList.of(simplePojoList, simplePojoList); + List<List<SimplePOJO>> simplePojoListOfList = ImmutableList.of(simplePojoList, simplePojoList); - Row converted = registry.getToRowFunction(PojoWithNestedArray.class) - .apply(new PojoWithNestedArray(simplePojoListOfList)); + Row converted = + registry + .getToRowFunction(PojoWithNestedArray.class) + .apply(new PojoWithNestedArray(simplePojoListOfList)); assertEquals(nestedRow, converted); } } diff --git a/sdks/java/core/src/test/java/org/apache/beam/sdk/schemas/utils/TestPOJOs.java b/sdks/java/core/src/test/java/org/apache/beam/sdk/schemas/utils/TestPOJOs.java index e5c4c59..c8cd7b8 100644 --- a/sdks/java/core/src/test/java/org/apache/beam/sdk/schemas/utils/TestPOJOs.java +++ b/sdks/java/core/src/test/java/org/apache/beam/sdk/schemas/utils/TestPOJOs.java @@ -820,8 +820,7 @@ public class TestPOJOs { /** The schema for {@link PojoWithNestedArray}. */ public static final Schema POJO_WITH_NESTED_ARRAY_SCHEMA = - Schema.builder().addArrayField("pojos", - FieldType.array( - FieldType.row(SIMPLE_POJO_SCHEMA))) - .build(); + Schema.builder() + .addArrayField("pojos", FieldType.array(FieldType.row(SIMPLE_POJO_SCHEMA))) + .build(); }