From ae2c6967c551cdc3783b8431a3bf615b833f1c12 Mon Sep 17 00:00:00 2001 From: ulrich Date: Thu, 14 Nov 2024 10:08:48 +0000 Subject: [PATCH] Dokumentation in Arbeit: DirList fertig dokumentiert, kleinere Anpassungen --- src/de/uhilger/fm/Deflator.java | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/de/uhilger/fm/Deflator.java b/src/de/uhilger/fm/Deflator.java index 8b66b10..5122475 100644 --- a/src/de/uhilger/fm/Deflator.java +++ b/src/de/uhilger/fm/Deflator.java @@ -33,9 +33,6 @@ */ public class Deflator { - private final String STR_SLASH = "/"; - - /* --------------- Ordner packen ----------------- */ /** * Einen Ordner packen. * @@ -53,7 +50,7 @@ try { //String fName = getFileName(e); //logger.fine("fName: " + fName); - if (fName.endsWith(STR_SLASH)) { + if (fName.endsWith("/")) { File dir = new File(base, fName); if (dir.isDirectory()) { //logger.fine("absPath: " + dir.getAbsolutePath()); -- Gitblit v1.9.3