Skip to content

Commit 9a6de25

Browse files
ipkpjersisoloturn
authored andcommitted
Removed unnecessary new Java syntax
This line breaks Java 17 compatibility, so I fixed it.
1 parent 8afe86f commit 9a6de25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/rarchives/ripme/ripper/rippers/video/VidearnRipper.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ public void rip() throws IOException, URISyntaxException {
5757
if (mp4s.isEmpty()) {
5858
throw new IOException("Could not find files at " + url);
5959
}
60-
String vidUrl = mp4s.getFirst();
60+
String vidUrl = mp4s.get(0);
6161
addURLToDownload(new URI(vidUrl).toURL(), HOST + "_" + getGID(this.url));
6262
waitForThreads();
6363
}
64-
}
64+
}

0 commit comments

Comments
 (0)