From 495a7bf95fa56ec7b73fca2f2e94cc7fc61f68c2 Mon Sep 17 00:00:00 2001 From: Bernd Eckenfels Date: Tue, 13 Oct 2015 00:54:04 +0200 Subject: Remove Sonar Dead Store Issues. --- .../main/java/org/apache/archiva/web/api/DefaultFileUploadService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archiva-modules/archiva-web/archiva-web-common') diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/api/DefaultFileUploadService.java b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/api/DefaultFileUploadService.java index 6e6c90565..e4d6676d6 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/api/DefaultFileUploadService.java +++ b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/api/DefaultFileUploadService.java @@ -189,7 +189,7 @@ public class DefaultFileUploadService // try with full name as ui only know the file name if ( !removed ) { - removed = getSessionFileMetadatas().remove( new FileMetadata( file.getPath() ) ); + /* unused */ getSessionFileMetadatas().remove( new FileMetadata( file.getPath() ) ); } if ( file.exists() ) { -- cgit v1.2.3