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/09/28 20:13:42 UTC

[incubator-baremaps] branch 745-daylight updated: Fix database object in workflow

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

bchapuis pushed a commit to branch 745-daylight
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git


The following commit(s) were added to refs/heads/745-daylight by this push:
     new 4935d918 Fix database object in workflow
4935d918 is described below

commit 4935d918c95e5651248f2f9de5ce09e26eec6ea2
Author: Bertil Chapuis <bc...@gmail.com>
AuthorDate: Thu Sep 28 22:13:27 2023 +0200

    Fix database object in workflow
---
 .../main/java/org/apache/baremaps/workflow/tasks/ImportOsmChange.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/baremaps-core/src/main/java/org/apache/baremaps/workflow/tasks/ImportOsmChange.java b/baremaps-core/src/main/java/org/apache/baremaps/workflow/tasks/ImportOsmChange.java
index 5bc0c085..b76393e7 100644
--- a/baremaps-core/src/main/java/org/apache/baremaps/workflow/tasks/ImportOsmChange.java
+++ b/baremaps-core/src/main/java/org/apache/baremaps/workflow/tasks/ImportOsmChange.java
@@ -36,12 +36,12 @@ import org.locationtech.jts.geom.Coordinate;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public record ImportOsmChange(Path file, String database, Integer srid,
+public record ImportOsmChange(Path file, Object database, Integer srid,
     Compression compression) implements Task {
 
   private static final Logger logger = LoggerFactory.getLogger(ImportOsmChange.class);
 
-  public ImportOsmChange(Path file, String database, Integer srid) {
+  public ImportOsmChange(Path file, Object database, Integer srid) {
     this(file, database, srid, Compression.detect(file));
   }