Resharper code cleanup

This commit is contained in:
Adam Hathcock
2013-04-28 12:32:55 +01:00
parent 2fe769afbb
commit fcf86b738e
230 changed files with 3909 additions and 4248 deletions

View File

@@ -84,14 +84,8 @@ namespace SharpCompress.Compressor.PPMd
public override long Position
{
get
{
return position;
}
set
{
throw new NotImplementedException();
}
get { return position; }
set { throw new NotImplementedException(); }
}
public override int Read(byte[] buffer, int offset, int count)
@@ -106,7 +100,7 @@ namespace SharpCompress.Compressor.PPMd
int c;
while (size < count && (c = modelH.decodeChar()) >= 0)
{
buffer[offset++] = (byte)c;
buffer[offset++] = (byte) c;
size++;
}
}
@@ -115,7 +109,7 @@ namespace SharpCompress.Compressor.PPMd
int c;
while (size < count && (c = modelH.decodeChar(decoder)) >= 0)
{
buffer[offset++] = (byte)c;
buffer[offset++] = (byte) c;
size++;
}
}
@@ -139,4 +133,4 @@ namespace SharpCompress.Compressor.PPMd
model.EncodeBlock(stream, new MemoryStream(buffer, offset, count), false);
}
}
}
}