Removed unimplemented Close

This commit is contained in:
Adam Hathcock
2013-12-23 11:12:07 +00:00
parent 25148a9bf8
commit afd65a7505
8 changed files with 5 additions and 26 deletions

View File

@@ -7,7 +7,7 @@ namespace SharpCompress.Archive.GZip
{
public class GZipArchiveEntry : GZipEntry, IArchiveEntry
{
private GZipArchive archive;
private readonly GZipArchive archive;
internal GZipArchiveEntry(GZipArchive archive, GZipFilePart part)
: base(part)

View File

@@ -97,9 +97,5 @@ namespace SharpCompress.Archive.Rar
throw new IncompleteArchiveException("ArchiveEntry is incomplete and cannot perform this operation.");
}
}
internal override void Close()
{
}
}
}

View File

@@ -66,6 +66,9 @@ namespace SharpCompress.Common
internal abstract IEnumerable<FilePart> Parts { get; }
internal abstract void Close();
internal virtual void Close()
{
}
}
}

View File

@@ -82,9 +82,5 @@ namespace SharpCompress.Common.GZip
{
yield return new GZipEntry(new GZipFilePart(stream));
}
internal override void Close()
{
}
}
}

View File

@@ -76,9 +76,5 @@ namespace SharpCompress.Common.SevenZip
{
get { return FilePart.AsEnumerable<FilePart>(); }
}
internal override void Close()
{
}
}
}

View File

@@ -100,9 +100,5 @@ namespace SharpCompress.Common.Tar
}
}
}
internal override void Close()
{
}
}
}

View File

@@ -112,9 +112,5 @@ namespace SharpCompress.Common.Zip
{
get { return filePart.AsEnumerable<FilePart>(); }
}
internal override void Close()
{
}
}
}

View File

@@ -45,9 +45,5 @@ namespace SharpCompress.Reader.Rar
{
get { return Part.FileHeader.UncompressedSize; }
}
internal override void Close()
{
}
}
}