From 516d0b6c2f2ab35a59b123d9fbe6958da8458583 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 20 Nov 2024 12:20:52 +0000
Subject: [PATCH] Dokumentation in Arbeit: FileEraser fertig dokumentiert, kleinere Anpassungen

---
 src/de/uhilger/neon/fm/FileList.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/de/uhilger/neon/fm/FileList.java b/src/de/uhilger/neon/fm/FileList.java
index e0be963..2e6348e 100644
--- a/src/de/uhilger/neon/fm/FileList.java
+++ b/src/de/uhilger/neon/fm/FileList.java
@@ -22,7 +22,7 @@
 import de.uhilger.neon.FileServer;
 import de.uhilger.neon.HttpHelper;
 import de.uhilger.neon.HttpResponder;
-import de.uhilger.fm.Lister;
+import de.uhilger.fm.Catalog;
 import java.io.IOException;
 
 /**
@@ -34,7 +34,7 @@
 
   public void run(HttpExchange exchange) {
     try {
-      super.run(exchange);
+      init(exchange);
       HttpContext ctx = exchange.getHttpContext();
       String base = ctx.getAttributes().getOrDefault(FileServer.ATTR_FILE_BASE, "").toString();
       if(base.length() == 0) {
@@ -42,7 +42,7 @@
       } else {
         String fName = new HttpHelper().getFileName(exchange);
         if (fName.endsWith(FileServer.STR_SLASH)) { // Ordnerliste erzeugen
-          String json = new Lister().liste(fName, ctx.getPath(), base);
+          String json = new Catalog().list(fName, ctx.getPath(), base);
           if (null != json) {
             new HttpResponder().antwortSenden(exchange, HttpResponder.SC_OK, json);
           } else {

--
Gitblit v1.9.3