more assertion tweakage

git-svn-id: https://smali.googlecode.com/svn/trunk@387 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com 2009-08-11 04:13:09 +00:00
parent d8b31a17ae
commit 3f81d20782

View File

@ -64,7 +64,7 @@ public abstract class Item<T extends Item> implements Comparable<T> {
* only needed while reading in a file * only needed while reading in a file
*/ */
protected void readFrom(Input in, int index, ReadContext readContext) { protected void readFrom(Input in, int index, ReadContext readContext) {
assert in.getCursor() % getItemType().ItemAlignment == 0:"The Input cursor is not aligned"; assert in.getCursor() % getItemType().ItemAlignment == 0;
this.offset = in.getCursor(); this.offset = in.getCursor();
this.index = index; this.index = index;