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

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

commit 8cd22e2f995628eb1ab2b9561f9b0beb39a146b8
Author: Bertil Chapuis <[email protected]>
AuthorDate: Thu Nov 16 22:25:18 2023 +0100

    Remove unused method
---
 .../baremaps/workflow/tasks/UpdateOsmDatabase.java      | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git 
a/baremaps-core/src/main/java/org/apache/baremaps/workflow/tasks/UpdateOsmDatabase.java
 
b/baremaps-core/src/main/java/org/apache/baremaps/workflow/tasks/UpdateOsmDatabase.java
index 9dce1563..b6513d04 100644
--- 
a/baremaps-core/src/main/java/org/apache/baremaps/workflow/tasks/UpdateOsmDatabase.java
+++ 
b/baremaps-core/src/main/java/org/apache/baremaps/workflow/tasks/UpdateOsmDatabase.java
@@ -209,21 +209,4 @@ public class UpdateOsmDatabase implements Task {
           header.getReplicationUrl(), header.getSource(), 
header.getWritingProgram()));
     }
   }
-
-  /**
-   * Returns the URL of the file with the given sequence number.
-   * 
-   * @param replicationUrl the replication URL
-   * @param sequenceNumber the sequence number
-   * @param extension the file extension
-   * @return the URL of the file
-   * @throws MalformedURLException if the URL is malformed
-   */
-  public static URL resolve(String replicationUrl, Long sequenceNumber, String 
extension)
-      throws MalformedURLException {
-    var s = String.format("%09d", sequenceNumber);
-    var uri = String.format("%s/%s/%s/%s.%s", replicationUrl, s.substring(0, 
3), s.substring(3, 6),
-        s.substring(6, 9), extension);
-    return URI.create(uri).toURL();
-  }
 }

Reply via email to