Skip to content

Commit

Permalink
refactor: drop jdk9 for jdk8 logic
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches committed May 20, 2023
1 parent 25921bd commit 7cfb4ec
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
import brut.androlib.err.UndefinedResObjectException;
import org.apache.commons.lang3.StringUtils;

import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.Map;
Expand All @@ -31,10 +34,10 @@ public class ResResSpec {
private final ResPackage mPackage;
private final ResTypeSpec mType;
private final Map<ResConfigFlags, ResResource> mResources = new LinkedHashMap<>();
private static final Set<String> EMPTY_RESOURCE_NAMES = Set.of(
private static final Set<String> EMPTY_RESOURCE_NAMES = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(
"0_resource_name_obfuscated",
"(name removed)"
);
)));

public ResResSpec(ResID id, String name, ResPackage pkg, ResTypeSpec type) {
this.mId = id;
Expand Down

0 comments on commit 7cfb4ec

Please sign in to comment.