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