diff options
author | Lanchon <lanchon@gmail.com> | 2018-06-14 07:59:04 -0300 |
---|---|---|
committer | Ben Gruver <jesusfreke@jesusfreke.com> | 2018-07-10 16:09:40 -0700 |
commit | da571dbe71d00fa88f5959d1f907c744eb1feae7 (patch) | |
tree | 3cf73f1fa2ca3af41ddfdd9195036de2d1498e37 | |
parent | fef5569d25400eb351ac1b475c082ddd999d31cb (diff) | |
download | smali-da571dbe71d00fa88f5959d1f907c744eb1feae7.tar.gz |
Use similar formatting for section arrays
-rw-r--r-- | dexlib2/src/main/java/org/jf/dexlib2/writer/pool/DexPool.java | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/DexPool.java b/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/DexPool.java index eb73ea8c..62ebb940 100644 --- a/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/DexPool.java +++ b/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/DexPool.java @@ -57,9 +57,20 @@ public class DexPool extends DexWriter<CharSequence, StringReference, CharSequen ArrayEncodedValue, EncodedValue, AnnotationElement, StringPool, TypePool, ProtoPool, FieldPool, MethodPool, ClassPool, CallSitePool, MethodHandlePool, TypeListPool, AnnotationPool, AnnotationSetPool, EncodedArrayPool> { - private final Markable[] sections = new Markable[] { - stringSection, typeSection, protoSection, fieldSection, methodSection, classSection, callSiteSection, - methodHandleSection, typeListSection, annotationSection, annotationSetSection, encodedArraySection + private final BasePool<?, ?>[] sections = new BasePool<?, ?>[] { + stringSection, + typeSection, + protoSection, + fieldSection, + methodSection, + classSection, + callSiteSection, + methodHandleSection, + + typeListSection, + annotationSection, + annotationSetSection, + encodedArraySection, }; public DexPool(Opcodes opcodes) { |