From d7f1e6f5159e666dafc2dfd9c3d1c80aa0228e7d Mon Sep 17 00:00:00 2001 From: j-dimension Date: Wed, 23 Oct 2024 22:52:21 +0200 Subject: [PATCH] code cleanup --- .../src/java/com/jdimension/jlawyer/export/HTMLExport.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/j-lawyer-server/j-lawyer-server-ejb/src/java/com/jdimension/jlawyer/export/HTMLExport.java b/j-lawyer-server/j-lawyer-server-ejb/src/java/com/jdimension/jlawyer/export/HTMLExport.java index 2151ae22..e7073ad3 100644 --- a/j-lawyer-server/j-lawyer-server-ejb/src/java/com/jdimension/jlawyer/export/HTMLExport.java +++ b/j-lawyer-server/j-lawyer-server-ejb/src/java/com/jdimension/jlawyer/export/HTMLExport.java @@ -727,8 +727,7 @@ public File getExportFolderName(ArchiveFileBean dto) { afs = dto.getId(); } afs = ServerStringUtils.removeSonderzeichen(afs); - File newDir = new File(this.targetDirectory.getAbsolutePath() + File.separator + afs); - return newDir; + return new File(this.targetDirectory.getAbsolutePath() + File.separator + afs); } private static String escape(Object cell) {