Skip to content

Commit

Permalink
sonar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
j-dimension committed Nov 24, 2024
1 parent 09141ff commit 65d4d9e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 65d4d9e

Please sign in to comment.