From a9f36cda131713f659fbbb4bca18fab062e71522 Mon Sep 17 00:00:00 2001 From: Ben Gruver Date: Wed, 11 Jan 2012 21:44:46 -0800 Subject: [PATCH] Fix idiotic "this" alias --- dexlib/src/main/java/org/jf/dexlib/DexFile.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/dexlib/src/main/java/org/jf/dexlib/DexFile.java b/dexlib/src/main/java/org/jf/dexlib/DexFile.java index 24e92921..a31ee666 100644 --- a/dexlib/src/main/java/org/jf/dexlib/DexFile.java +++ b/dexlib/src/main/java/org/jf/dexlib/DexFile.java @@ -163,13 +163,6 @@ public class DexFile */ private boolean sortAllItems = false; - - /** - * this is used to access the dex file from within inner classes, when they declare fields or - * variable that hide fields on this object - */ - private final DexFile dexFile = this; - /** * Is this file an odex file? This is only set when reading in an odex file */ @@ -774,7 +767,7 @@ public class DexFile new IndexedSection(this, ItemType.TYPE_CLASS_DEF_ITEM) { public int placeAt(int offset) { - if (dexFile.getInplace()) { + if (DexFile.this.getInplace()) { return super.placeAt(offset); }