Mercurial > projects > dwt-mac
diff dwt/internal/image/LEDataOutputStream.d @ 6:b903c16b6f48
Removed throws decls
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 14:10:03 +0200 |
parents | 1a8b3cb347e0 |
children | 5123b17c98ef |
line wrap: on
line diff
--- a/dwt/internal/image/LEDataOutputStream.d Wed Aug 27 14:02:31 2008 +0200 +++ b/dwt/internal/image/LEDataOutputStream.d Wed Aug 27 14:10:03 2008 +0200 @@ -23,26 +23,26 @@ * Write the specified number of bytes of the given byte array, * starting at the specified offset, to the output stream. */ -public void write(byte b[], int off, int len) throws IOException { +public void write(byte b[], int off, int len) { out.write(b, off, len); } /** * Write the given byte to the output stream. */ -public void write(int b) throws IOException { +public void write(int b) { out.write(b); } /** * Write the given byte to the output stream. */ -public void writeByte(byte b) throws IOException { +public void writeByte(byte b) { out.write(b & 0xFF); } /** * Write the four bytes of the given integer * to the output stream. */ -public void writeInt(int theInt) throws IOException { +public void writeInt(int theInt) { out.write(theInt & 0xFF); out.write((theInt >> 8) & 0xFF); out.write((theInt >> 16) & 0xFF); @@ -52,7 +52,7 @@ * Write the two bytes of the given short * to the output stream. */ -public void writeShort(int theShort) throws IOException { +public void writeShort(int theShort) { out.write(theShort & 0xFF); out.write((theShort >> 8) & 0xFF); }