diff options
author | Martin Stockhammer <martin_s@apache.org> | 2017-09-02 13:14:33 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2017-09-02 13:18:15 +0200 |
commit | ad9fee4399fef8fb45fa018f16ba8164b4481ae5 (patch) | |
tree | be04939951a4400d6e3c24409a7c1bf368531873 /archiva-modules/archiva-web/archiva-web-common | |
parent | 6abccf351093647c55212e5412188683ed2c9832 (diff) | |
download | archiva-ad9fee4399fef8fb45fa018f16ba8164b4481ae5.tar.gz archiva-ad9fee4399fef8fb45fa018f16ba8164b4481ae5.zip |
First part in moving to java.nio
Diffstat (limited to 'archiva-modules/archiva-web/archiva-web-common')
-rw-r--r-- | archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/api/DefaultFileUploadService.java | 4 |
1 files changed, 2 insertions, 2 deletions
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 af0164d9e..b272489c1 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 @@ -643,7 +643,7 @@ public class DefaultFileUploadService projectMetadata.setReleasedVersion( latestVersion ); } - RepositoryMetadataWriter.write( projectMetadata, projectMetadataFile ); + RepositoryMetadataWriter.write( projectMetadata, projectMetadataFile.toPath() ); if ( fixChecksums ) { @@ -677,7 +677,7 @@ public class DefaultFileUploadService metadata.getSnapshotVersion().setTimestamp( timestamp ); metadata.setLastUpdatedTimestamp( lastUpdatedTimestamp ); - RepositoryMetadataWriter.write( metadata, metadataFile ); + RepositoryMetadataWriter.write( metadata, metadataFile.toPath() ); if ( fixChecksums ) { |