mirror of
https://github.com/revanced/smali.git
synced 2025-05-29 12:20:11 +02:00
added TODO for later
git-svn-id: https://smali.googlecode.com/svn/trunk@127 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
ba3a836d6f
commit
638c1bbda1
@ -43,7 +43,6 @@ public abstract class OffsettedSection<T extends OffsettedItem<T>> extends Secti
|
|||||||
* Retrieves the item that starts at the given offset, or null if
|
* Retrieves the item that starts at the given offset, or null if
|
||||||
* there are none found. This method is intended to only be used
|
* there are none found. This method is intended to only be used
|
||||||
* while reading in a dex file.
|
* while reading in a dex file.
|
||||||
* TODO: find a better way to abstract this
|
|
||||||
* @param offset the offset of the item to get
|
* @param offset the offset of the item to get
|
||||||
* @return the item that starts at the given offset, or null if there
|
* @return the item that starts at the given offset, or null if there
|
||||||
* are none found
|
* are none found
|
||||||
@ -62,6 +61,8 @@ public abstract class OffsettedSection<T extends OffsettedItem<T>> extends Secti
|
|||||||
for (int i = 0; i < size; i++) {
|
for (int i = 0; i < size; i++) {
|
||||||
T item = getByOffset(in.getCursor());
|
T item = getByOffset(in.getCursor());
|
||||||
item.readFrom(in);
|
item.readFrom(in);
|
||||||
|
|
||||||
|
//TODO: why are we aligning afterwards?
|
||||||
in.alignTo(item.getAlignment());
|
in.alignTo(item.getAlignment());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user