From e1fae256e29eb7a317d5a810d7e24751eb6032eb Mon Sep 17 00:00:00 2001 From: ulrich Date: Wed, 13 Nov 2024 22:45:34 +0000 Subject: [PATCH] Dokumentation in Arbeit --- src/de/uhilger/fm/Deflator.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/de/uhilger/fm/Deflator.java b/src/de/uhilger/fm/Deflator.java index 7a3b60b..b4e3689 100644 --- a/src/de/uhilger/fm/Deflator.java +++ b/src/de/uhilger/fm/Deflator.java @@ -32,6 +32,8 @@ * @author Ulrich Hilger, 15. Januar 2024 */ public class Deflator { + + private final String STR_SLASH = "/"; /* --------------- Ordner packen ----------------- */ /** @@ -51,7 +53,7 @@ try { //String fName = getFileName(e); //logger.fine("fName: " + fName); - if (fName.endsWith(Const.STR_SLASH)) { + if (fName.endsWith(STR_SLASH)) { File dir = new File(base, fName); if (dir.isDirectory()) { //logger.fine("absPath: " + dir.getAbsolutePath()); -- Gitblit v1.9.3