Skip to content

Commit

Permalink
Only use Java 8 features
Browse files Browse the repository at this point in the history
  • Loading branch information
NebelNidas committed May 30, 2022
1 parent d0fc80d commit b5c7ad9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jadx-core/src/main/java/jadx/core/deobf/Deobfuscator.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.NavigableSet;
import java.util.Set;
Expand Down Expand Up @@ -155,7 +155,7 @@ public void exportMappings(Path path, JadxCodeData codeData, MappingFormat mappi
path.toFile().createNewFile();

mappingTree.visitHeader();
mappingTree.visitNamespaces("official", List.of("named"));
mappingTree.visitNamespaces("official", Arrays.asList("named"));
mappingTree.visitContent();

for (ClassNode cls : root.getClasses()) {
Expand Down

0 comments on commit b5c7ad9

Please sign in to comment.