]> source.dussan.org Git - archiva.git/commitdiff
oups fix compilation
authorOlivier Lamy <olamy@apache.org>
Mon, 2 Apr 2012 07:18:31 +0000 (07:18 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 2 Apr 2012 07:18:31 +0000 (07:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308256 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/java/org/apache/archiva/webapp/ui/services/api/DefaultFileUploadService.java

index 56af9bf14b72048224b0a14bf8068ca61ee00013..411eef67d7a9b23e1ae2ed971d396eda58731ebd 100644 (file)
@@ -144,11 +144,6 @@ public class DefaultFileUploadService
             IOUtils.copy( file.getDataHandler().getInputStream(), new FileOutputStream( tmpFile ) );
             FileMetadata fileMetadata = new FileMetadata( fileName, tmpFile.length(), "theurl" );
             fileMetadata.setServerFileName( tmpFile.getPath() );
-            fileMetadata.setGroupId( groupId );
-            fileMetadata.setArtifactId( artifactId );
-            fileMetadata.setVersion( version );
-            fileMetadata.setVersion( version );
-            fileMetadata.setPackaging( packaging );
             fileMetadata.setClassifier( classifier );
             fileMetadata.setDeleteUrl( tmpFile.getName() );
             fileMetadata.setPomFile( pomFile );