iGN5117 commented on code in PR #1014:
URL: https://github.com/apache/sedona/pull/1014#discussion_r1323174269
##########
common/src/test/java/org/apache/sedona/common/raster/RasterTestBase.java:
##########
@@ -50,13 +51,17 @@ public class RasterTestBase {
GridCoverage2D multiBandRaster;
byte[] geoTiff;
+ private final PrintStream standardOut = System.out;
+ private final ByteArrayOutputStream outputStreamCaptor = new
ByteArrayOutputStream();
+
@Before
public void setup() throws IOException {
oneBandRaster =
RasterConstructors.fromArcInfoAsciiGrid(arc.getBytes(StandardCharsets.UTF_8));
multiBandRaster = createMultibandRaster();
ByteArrayOutputStream bos = new ByteArrayOutputStream();
new GeoTiffWriter(bos).write(multiBandRaster, new
GeneralParameterValue[]{});
geoTiff = bos.toByteArray();
+ //System.setOut(new PrintStream(outputStreamCaptor));
Review Comment:
Removed unnecessary code
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]