Submitted by: James William Dumay
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@649382
13f79535-47bb-0310-9956-
ffa450edef68
if (!isCollection())
{
IOUtils.copy(new FileInputStream(localResource), outputContext.getOutputStream());
+ outputContext.setContentLength(getContentLength());
+ outputContext.setContentType(getContentType());
}
else
{
}
catch ( RepositoryMetadataException e )
{
- log.error(e.getMessage(), e);
+ /* eat it */
}
try
}
catch ( RepositoryMetadataException e )
{
- log.error(e.getMessage(), e);
+ /* eat it */
}
return false;