From f29f297beb2fe32b4bb574c802dace2364483d78 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 13 Nov 2024 22:39:54 +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