1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-04 04:47:28 +02:00

Removed unnecessary new Java syntax

This line breaks Java 17 compatibility, so I fixed it.
This commit is contained in:
ipkpjersi
2024-12-14 17:18:04 -05:00
committed by soloturn
parent 8afe86fc5d
commit 9a6de2509d

View File

@@ -57,8 +57,8 @@ public class VidearnRipper extends VideoRipper {
if (mp4s.isEmpty()) { if (mp4s.isEmpty()) {
throw new IOException("Could not find files at " + url); throw new IOException("Could not find files at " + url);
} }
String vidUrl = mp4s.getFirst(); String vidUrl = mp4s.get(0);
addURLToDownload(new URI(vidUrl).toURL(), HOST + "_" + getGID(this.url)); addURLToDownload(new URI(vidUrl).toURL(), HOST + "_" + getGID(this.url));
waitForThreads(); waitForThreads();
} }
} }