From 973951fe36062a8250b6890213b1e0c3e71da8b2 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 13 Nov 2024 15:11:00 +0000
Subject: [PATCH] Dokumentation in Arbeit, Konstanten verschoben

---
 src/de/uhilger/fm/Lister.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/de/uhilger/fm/Lister.java b/src/de/uhilger/fm/Lister.java
index 9284fba..c54f4e9 100644
--- a/src/de/uhilger/fm/Lister.java
+++ b/src/de/uhilger/fm/Lister.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
@@ -56,13 +56,13 @@
           datei.setTyp(Datei.TYP_DATEI);
         }
         String lowerName = dateiName.toLowerCase();
-        if (lowerName.endsWith(Const.JPEG)
-                || lowerName.endsWith(Const.JPG)
-                || lowerName.endsWith(Const.PNG)) {
+        if (lowerName.endsWith(ImageFileFilter.JPEG)
+                || lowerName.endsWith(ImageFileFilter.JPG)
+                || lowerName.endsWith(ImageFileFilter.PNG)) {
           datei.setBild(true);
           String ext = dateiName.substring(dateiName.lastIndexOf(STR_DOT));
           String ohneExt = dateiName.substring(0, dateiName.lastIndexOf(STR_DOT));
-          datei.setMiniurl(ctxPath + /*"/" + */ fName + ohneExt + Const.TN + ext);
+          datei.setMiniurl(ctxPath + /*"/" + */ fName + ohneExt + ImageFileFilter.TN + ext);
           //buildImgSrc(file, datei, ohneExt, ext);
         }
         liste.add(datei);

--
Gitblit v1.9.3