From 4d87ea3765903b6d95a4eb1f2e85c3e6173aaefa Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 13 Nov 2024 17:56:07 +0000
Subject: [PATCH] Dokumentation in Arbeit

---
 src/de/uhilger/fm/Deflator.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/de/uhilger/fm/Deflator.java b/src/de/uhilger/fm/Deflator.java
index b4af76d..b4e3689 100644
--- a/src/de/uhilger/fm/Deflator.java
+++ b/src/de/uhilger/fm/Deflator.java
@@ -1,5 +1,5 @@
 /*
-  neon-fm - File management extensions to Neon
+  fm - File management class library
   Copyright (C) 2024  Ulrich Hilger
 
   This program is free software: you can redistribute it and/or modify
@@ -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