commit | ec3a12ddb18aaf37575ceb00e158f2bda5796629 | [log] [tgz] |
---|---|---|
author | Neil Fuller <nfuller@google.com> | Mon Jun 02 13:20:47 2014 +0100 |
committer | Neil Fuller <nfuller@google.com> | Mon Jun 02 13:20:47 2014 +0100 |
tree | 0466c030d928860665342ba59a180428e3e95b4d | |
parent | 919849b0be531c7969aa83cb96f7c2d8688896c5 [diff] |
Fix BufferTest.testAccess Commit b327df0b7d83f079856304830ff4da92b4a5ea1f fixed three tests but broke BufferTest.testAccess. This fixes all of them. This ordering of state / argument checks appears consistent with the checks in DirectByteBuffer for other, similar methods such as putShort: 1) this.isAccessible 2) this.isReadOnly 3) Argument validity checks Change-Id: I4e93129ae0f3008ee4894f840d69ae71586b9f07