mirror of
https://github.com/revanced/smali.git
synced 2025-05-11 11:54:29 +02:00
Delete some unneeded TODOs
This commit is contained in:
parent
894327c7ed
commit
03a4ffa1f4
@ -72,7 +72,6 @@ class BuilderStringPool implements StringSection<BuilderStringReference, Builder
|
||||
@Nonnull @Override public Collection<? extends Entry<? extends BuilderStringReference, Integer>> getItems() {
|
||||
return new BuilderMapEntryCollection<BuilderStringReference>(internedItems.values()) {
|
||||
@Override protected int getValue(@Nonnull BuilderStringReference key) {
|
||||
// TODO: see what the performance of using key.getIndex() for everything is like
|
||||
return key.index;
|
||||
}
|
||||
|
||||
|
@ -151,7 +151,6 @@ public class InstructionWriteUtil<Insn extends Instruction, StringRef extends St
|
||||
for (Instruction instruction: originalInstructions) {
|
||||
if (instruction.getOpcode().equals(Opcode.CONST_STRING)) {
|
||||
ReferenceInstruction refInstr = (ReferenceInstruction) instruction;
|
||||
// TODO: add the necessary generic plumbing to the Instruction interface to make this work without a warning (ugh)
|
||||
int referenceIndex = stringIndexProvider.getItemIndex((StringRef)refInstr.getReference());
|
||||
if (referenceIndex > 0xFFFF) {
|
||||
if (codeOffsetShifts == null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user