mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
added extension to default resource name
This commit is contained in:
@@ -78,7 +78,8 @@ public class DefaultResource extends AbstractResource
|
|||||||
{
|
{
|
||||||
appendResources(baos);
|
appendResources(baos);
|
||||||
this.content = baos.toByteArray();
|
this.content = baos.toByteArray();
|
||||||
this.name = ChecksumUtil.createChecksum(this.content);
|
this.name = ChecksumUtil.createChecksum(this.content).concat(".").concat(
|
||||||
|
type.getExtension());
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user