From 8f4ae98add68efc19b825d0ce0c7cde5f90b2325 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 13 Nov 2024 17:01:05 +0000
Subject: [PATCH] Const entfernt

---
 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