mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-11-29 11:49:29 +00:00
tidying
This commit is contained in:
parent
1f3894f162
commit
0e6a6e6c3f
@ -85,20 +85,13 @@ public class Wizardry4BootDisk extends PascalDisk
|
|||||||
fileEntry = (FileEntry) huffNode.getUserObject ();
|
fileEntry = (FileEntry) huffNode.getUserObject ();
|
||||||
if (fileEntry != null)
|
if (fileEntry != null)
|
||||||
{
|
{
|
||||||
// byte[] tree = new byte[256];
|
|
||||||
// byte[] left = new byte[256];
|
|
||||||
// byte[] right = new byte[256];
|
|
||||||
|
|
||||||
byte[] buffer = fileEntry.getDataSource ().buffer;
|
byte[] buffer = fileEntry.getDataSource ().buffer;
|
||||||
|
|
||||||
// System.arraycopy (buffer, 0, tree, 0, 256);
|
|
||||||
// System.arraycopy (buffer, 256, left, 0, 256);
|
|
||||||
// System.arraycopy (buffer, 512, right, 0, 256);
|
|
||||||
Huffman huffman = new Huffman (buffer);
|
Huffman huffman = new Huffman (buffer);
|
||||||
|
|
||||||
System.out.println (huffman.getMessage (messageBlock.getMessage (2043)));
|
for (int msg = 2043; msg <= 2045; msg++)
|
||||||
System.out.println (huffman.getMessage (messageBlock.getMessage (2044)));
|
System.out.println (huffman.getMessage (messageBlock.getMessage (msg)));
|
||||||
System.out.println (huffman.getMessage (messageBlock.getMessage (2045)));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user