Skip to content

Commit 98309a3

Browse files
authored
fixup! Fix derp pointed out by requireNonNull
Yes, the fix needs to be fixed. Derp.
1 parent 9eb1bad commit 98309a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/androidbootmanager/app/roms/ROMsList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public List<ROM> getROMs() {
4242
r.parts.add(c.getString(R.string.select_part, c.getString(R.string.data_part)));
4343
r.strings = new HashMap<>();
4444
r.strings.put(c.getString(R.string.enter_rom_name), "");
45-
List<String> a = Arrays.asList(Objects.requireNonNull(SuFile.open("/data/abm/db/bootset/entries/").list()));
45+
List<String> a = Arrays.asList(Objects.requireNonNull(SuFile.open("/data/abm/bootset/db/entries/").list()));
4646
a.removeIf((b) -> b.contains("rom"));
4747
a.sort((b, c) -> Integer.compare(Integer.parseInt(b.replace("rom","")), Integer.parseInt(c.replace("rom",""))));
4848
int b = a.size() > 0 ? Integer.parseInt(a.get(a.size()-1).replace("rom",""))+1 : 0;

0 commit comments

Comments
 (0)