use assert. duh

git-svn-id: https://smali.googlecode.com/svn/trunk@417 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com 2009-08-25 02:14:35 +00:00
parent e9c67dbb9c
commit 4da483a55b

View File

@ -30,9 +30,6 @@ package org.jf.dexlib;
import org.jf.dexlib.Util.Input;
import org.jf.dexlib.Util.AnnotatedOutput;
import org.jf.dexlib.Util.Hex;
import junit.framework.Assert;
/**
* This item represents a map_list item from the dex specification. It contains a
@ -84,7 +81,7 @@ public class MapItem extends Item<MapItem> {
/** {@inheritDoc} */
protected void writeItem(AnnotatedOutput out) {
Assert.assertTrue(getOffset() > 0);
assert getOffset() > 0;
Section[] sections = dexFile.getOrderedSections();
out.annotate("map_size: 0x" + Integer.toHexString(sections.length + 2) + " (" +