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:
@@ -57,7 +57,7 @@ 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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user