Source:
<code>public void setup() throws IOException { point = fromText(POINT); pointSerialized = serialize(point); simpleMultipoint = fromText(MULTIPOINT); simpleMultipointSerialized = serialize(simpleMultipoint); complexMultipoint = fromText(readResource("complex-multipoint.txt")); complexMultipointSerialized = serialize(complexMultipoint); simpleLineString = fromText(LINESTRING); simpleLineStringSerialized = serialize(simpleLineString); complexLineString = fromText(readResource("complex-linestring.txt")); complexLineStringSerialized = serialize(complexLineString); simpleMultiLineString = fromText(MULTILINESTRING); simpleMultiLineStringSerialized = serialize(simpleMultiLineString); complexMultiLineString = fromText(readResource("complex-multilinestring.txt")); complexMultiLineStringSerialized = serialize(complexMultiLineString); simplePolygon = fromText(POLYGON); simplePolygonSerialized = serialize(simplePolygon); complexPolygon = fromText(readResource("complex-polygon.txt")); complexPolygonSerialized = serialize(complexPolygon); simpleMultiPolygon = fromText(MULTIPOLYGON); simpleMultiPolygonSerialized = serialize(simpleMultiPolygon); complexMultiPolygon = fromText(readResource("complex-multipolygon.txt")); <START> complexMultiPolygonSerialized = serialize(complexMultiPolygon); <END> simpleGeometryCollection = fromText(GEOMETRYCOLLECTION); simpleGeometryCollectionSerialized = serialize(simpleGeometryCollection); complexGeometryCollection = fromText("GEOMETRYCOLLECTION (" + Joiner.on(", ").join( readResource("complex-multipoint.txt"), readResource("complex-linestring.txt"), readResource("complex-multilinestring.txt"), readResource("complex-polygon.txt"), readResource("complex-multipolygon.txt")) + ")"); complexGeometryCollectionSerialized = serialize(complexGeometryCollection); }</code><technical_language>nit: sense move readResource method resource names BenchmarkData class avoid copy-pasting</technical_language>

Target:
public void setup() { point = fromText(POINT); pointSerialized = serialize(point); simpleMultipoint = fromText(MULTIPOINT); simpleMultipointSerialized = serialize(simpleMultipoint); complexMultipoint = fromText(readResource("complex-multipoint.txt")); complexMultipointSerialized = serialize(complexMultipoint); simpleLineString = fromText(LINESTRING); simpleLineStringSerialized = serialize(simpleLineString); complexLineString = fromText(readResource("complex-linestring.txt")); complexLineStringSerialized = serialize(complexLineString); simpleMultiLineString = fromText(MULTILINESTRING); simpleMultiLineStringSerialized = serialize(simpleMultiLineString); complexMultiLineString = fromText(readResource("complex-multilinestring.txt")); complexMultiLineStringSerialized = serialize(complexMultiLineString); simplePolygon = fromText(POLYGON); simplePolygonSerialized = serialize(simplePolygon); complexPolygon = fromText(readResource("complex-polygon.txt")); complexPolygonSerialized = serialize(complexPolygon); simpleMultiPolygon = fromText(MULTIPOLYGON); simpleMultiPolygonSerialized = serialize(simpleMultiPolygon); complexMultiPolygon = fromText(readResource("complex-multipolygon.txt")); complexMultiPolygonSerialized = serialize(complexMultiPolygon); simpleGeometryCollection = fromText(GEOMETRYCOLLECTION); simpleGeometryCollectionSerialized = serialize(simpleGeometryCollection); complexGeometryCollection = fromText("GEOMETRYCOLLECTION (" + Joiner.on(", ").join( readResource("complex-multipoint.txt"), readResource("complex-linestring.txt"), readResource("complex-multilinestring.txt"), readResource("complex-polygon.txt"), readResource("complex-multipolygon.txt")) + ")"); complexGeometryCollectionSerialized = serialize(complexGeometryCollection); }