From b6536f9b8b33f322f0a41f799cad973858125ea6 Mon Sep 17 00:00:00 2001 From: ulrich Date: Thu, 14 Nov 2024 10:23:45 +0000 Subject: [PATCH] Dokumentation in Arbeit: Eraser 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