public static Pattern readPattern(final DataInput pStream, final Color fg, final Color bg) throws IOException {
        // Get the data (8 bytes)
        byte[] data = new byte[8];
        pStream.readFully(data);
        return new BitMapPattern(data, fg, bg);
    }
public static Pattern readPattern ( final DataInput pStream , final Color fg , final Color bg ) throws IOException { byte [ ] data = new byte [ 8 ] ; pStream . readFully ( data ) ; return new BitMapPattern ( data , fg , bg ) ; }
TODO: Refactor, don't need both readPattern methods