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