From 65d4d9e43dcbe52a4902352515013e15d26c2b4c Mon Sep 17 00:00:00 2001 From: j-dimension Date: Sun, 24 Nov 2024 23:14:50 +0100 Subject: [PATCH] sonar fixes --- .../src/com/jdimension/jlawyer/client/utils/FileConverter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/utils/FileConverter.java b/j-lawyer-client/src/com/jdimension/jlawyer/client/utils/FileConverter.java index 7bd0edb4..4c4d3b63 100755 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/utils/FileConverter.java +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/utils/FileConverter.java @@ -1284,8 +1284,7 @@ private static String processImageOrientation(String url) throws Exception { // Wenn sich die Daten geändert haben, neue temporäre Datei erstellen if (!Arrays.equals(imageData, processedData)) { - String tempFile = FileUtils.createTempFile(inputFile.getName(), processedData); - return tempFile; + return FileUtils.createTempFile(inputFile.getName(), processedData); } return url;