[PATCH 3 of 3] Avoid deprecated API

Wald Commits scm-commit at wald.intevation.org
Tue Jan 17 15:29:13 CET 2023


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1673961674 -3600
#      Tue Jan 17 14:21:14 2023 +0100
# Branch 3.2.x
# Node ID 0d492fc47869b6869272e7c130e487bc18d74202
# Parent  d41cdb5a386bb8fe3094f632d525dd084a3869fe
Avoid deprecated API

diff -r d41cdb5a386b -r 0d492fc47869 artifact-database/src/main/java/org/dive4elements/artifactdatabase/rest/RestApp.java
--- a/artifact-database/src/main/java/org/dive4elements/artifactdatabase/rest/RestApp.java	Tue Jan 17 14:20:29 2023 +0100
+++ b/artifact-database/src/main/java/org/dive4elements/artifactdatabase/rest/RestApp.java	Tue Jan 17 14:21:14 2023 +0100
@@ -19,7 +19,7 @@
 import org.restlet.routing.Router;
 
 /**
- * This is the core REST application that binds the serveral resources
+ * This is the core REST application that binds the several resources
  * used to manage the artifact database to the HTTP server provided
  * by the Restlet framework.
  *
@@ -61,7 +61,7 @@
      * @return The root of the URL tree exposed by the HTTP server.
      */
     @Override
-    public Restlet createRoot() {
+    public Restlet createInboundRoot() {
 
         Context context = getContext();
 


More information about the Dive4Elements-commits mailing list