remove 'private' keyword where possible

This commit is contained in:
Chris Forbes
2011-06-29 09:15:39 +12:00
parent 587b2ef0d1
commit 0e45968573
16 changed files with 27 additions and 34 deletions

View File

@@ -158,7 +158,7 @@ namespace OpenRA.FileFormats
}
// Decode a code using huffman table h.
private static int Decode(Huffman h, BitReader br)
static int Decode(Huffman h, BitReader br)
{
int code = 0; // len bits being decoded
int first = 0; // first code of length len

View File

@@ -63,7 +63,7 @@ namespace OpenRA.FileFormats
public Size Size { get { return new Size(Width, Height); } }
private readonly List<ImageHeader> headers = new List<ImageHeader>();
readonly List<ImageHeader> headers = new List<ImageHeader>();
int recurseDepth = 0;
@@ -156,7 +156,7 @@ namespace OpenRA.FileFormats
return compressedBytes;
}
private byte[] CopyImageData( byte[] baseImage )
byte[] CopyImageData( byte[] baseImage )
{
byte[] imageData = new byte[ Width * Height ];
for( int i = 0 ; i < Width * Height ; i++ )