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