mirror of https://github.com/apache/archiva.git
add note on potential issue to fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@757643 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
71eda3948c
commit
d1f4143e77
|
@ -313,6 +313,7 @@ public class ArchivaDavResource
|
|||
IOUtils.closeQuietly( stream );
|
||||
}
|
||||
|
||||
// TODO: a bad deployment shouldn't delete an existing file - do we need to write to a temporary location first?
|
||||
if ( inputContext.getContentLength() != localFile.length() )
|
||||
{
|
||||
FileUtils.deleteQuietly( localFile );
|
||||
|
|
Loading…
Reference in New Issue