From 8f4ae98add68efc19b825d0ce0c7cde5f90b2325 Mon Sep 17 00:00:00 2001 From: ulrich Date: Wed, 13 Nov 2024 17:01:05 +0000 Subject: [PATCH] Const entfernt --- 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