mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-12 04:55:52 +01:00
Replace a missed usage of Iterators.emptyIterator()
This commit is contained in:
parent
5cd9d01a9e
commit
008b12f97c
@ -32,7 +32,6 @@
|
|||||||
package org.jf.dexlib2.dexbacked.util;
|
package org.jf.dexlib2.dexbacked.util;
|
||||||
|
|
||||||
import com.google.common.collect.ImmutableSet;
|
import com.google.common.collect.ImmutableSet;
|
||||||
import com.google.common.collect.Iterators;
|
|
||||||
import org.jf.dexlib2.AccessFlags;
|
import org.jf.dexlib2.AccessFlags;
|
||||||
import org.jf.dexlib2.DebugItemType;
|
import org.jf.dexlib2.DebugItemType;
|
||||||
import org.jf.dexlib2.dexbacked.DexBackedDexFile;
|
import org.jf.dexlib2.dexbacked.DexBackedDexFile;
|
||||||
@ -71,7 +70,11 @@ public abstract class DebugInfo implements Iterable<DebugItem> {
|
|||||||
private static class EmptyDebugInfo extends DebugInfo {
|
private static class EmptyDebugInfo extends DebugInfo {
|
||||||
public static final EmptyDebugInfo INSTANCE = new EmptyDebugInfo();
|
public static final EmptyDebugInfo INSTANCE = new EmptyDebugInfo();
|
||||||
private EmptyDebugInfo() {}
|
private EmptyDebugInfo() {}
|
||||||
@Nonnull @Override public Iterator<DebugItem> iterator() { return Iterators.emptyIterator(); }
|
|
||||||
|
@Nonnull @Override public Iterator<DebugItem> iterator() {
|
||||||
|
return ImmutableSet.<DebugItem>of().iterator();
|
||||||
|
}
|
||||||
|
|
||||||
@Nonnull @Override public Iterator<String> getParameterNames(@Nullable DexReader reader) {
|
@Nonnull @Override public Iterator<String> getParameterNames(@Nullable DexReader reader) {
|
||||||
return ImmutableSet.<String>of().iterator();
|
return ImmutableSet.<String>of().iterator();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user