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