You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@baremaps.apache.org by bc...@apache.org on 2023/07/12 22:19:43 UTC

[incubator-baremaps] branch 681-handle-the-out-of-memory-errors updated: Remove System.out.println calls

This is an automated email from the ASF dual-hosted git repository.

bchapuis pushed a commit to branch 681-handle-the-out-of-memory-errors
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git


The following commit(s) were added to refs/heads/681-handle-the-out-of-memory-errors by this push:
     new 704da713 Remove System.out.println calls
704da713 is described below

commit 704da713e06e2cb41e25d2a5d78f7a1f7b8bd3cf
Author: Bertil Chapuis <bc...@gmail.com>
AuthorDate: Thu Jul 13 00:19:33 2023 +0200

    Remove System.out.println calls
---
 .../java/org/apache/baremaps/storage/postgres/PostgresDataSchema.java    | 1 -
 .../src/test/java/org/apache/baremaps/workflow/ObjectMapperTest.java     | 1 -
 2 files changed, 2 deletions(-)

diff --git a/baremaps-core/src/main/java/org/apache/baremaps/storage/postgres/PostgresDataSchema.java b/baremaps-core/src/main/java/org/apache/baremaps/storage/postgres/PostgresDataSchema.java
index e21703c4..b4a21c42 100644
--- a/baremaps-core/src/main/java/org/apache/baremaps/storage/postgres/PostgresDataSchema.java
+++ b/baremaps-core/src/main/java/org/apache/baremaps/storage/postgres/PostgresDataSchema.java
@@ -213,7 +213,6 @@ public class PostgresDataSchema implements DataSchema {
         .map(column -> "\"" + column.name() + "\"")
         .collect(Collectors.joining(", ")));
     builder.append(") FROM STDIN BINARY");
-    System.out.println(builder.toString());
     return builder.toString();
   }
 
diff --git a/baremaps-core/src/test/java/org/apache/baremaps/workflow/ObjectMapperTest.java b/baremaps-core/src/test/java/org/apache/baremaps/workflow/ObjectMapperTest.java
index 36f653ad..24d34d69 100644
--- a/baremaps-core/src/test/java/org/apache/baremaps/workflow/ObjectMapperTest.java
+++ b/baremaps-core/src/test/java/org/apache/baremaps/workflow/ObjectMapperTest.java
@@ -40,7 +40,6 @@ public class ObjectMapperTest {
                     "jdbc:postgresql://localhost:5432/baremaps?&user=baremaps&password=baremaps",
                     3857)))));
     var json = mapper.writeValueAsString(workflow1);
-    System.out.println(json);
     assertTrue(json.contains(DownloadUrl.class.getSimpleName()));
     assertTrue(json.contains(ImportOpenStreetMap.class.getSimpleName()));