Kaydet (Commit) 93850628 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Make it clearer that previous change was sound

Change-Id: I0f2440b39e7b99b207755779a82bbeec164de278
üst 4e2c95c7
......@@ -109,12 +109,10 @@ class WseHeader extends Wse {
* @return A <code>byte</code> array representing this element.
*/
byte[] getBytes() {
DataOutputStream os; // Used for storing the data
ByteArrayOutputStream bs = null; // Used for storing the data
ByteArrayOutputStream bs = new ByteArrayOutputStream();
DataOutputStream os = new DataOutputStream(bs);
try {
bs = new ByteArrayOutputStream();
os = new DataOutputStream(bs);
os.write(2); // binary doc indicator
os.write(4); // binary header indicator
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment