1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-22 21:43:06 +02:00

code cleanup

This commit is contained in:
soloturn
2021-04-18 16:02:22 +02:00
parent 7d4d2ef8fa
commit 57ad75b76e

View File

@@ -55,7 +55,7 @@ public class App {
* *
* @param args Array of command line arguments. * @param args Array of command line arguments.
*/ */
public static void main(String[] args) throws MalformedURLException { public static void main(String[] args) {
CommandLine cl = getArgs(args); CommandLine cl = getArgs(args);
if (args.length > 0 && cl.hasOption('v')){ if (args.length > 0 && cl.hasOption('v')){
@@ -114,7 +114,7 @@ public class App {
entry.dir = ripper.getWorkingDir().getAbsolutePath(); entry.dir = ripper.getWorkingDir().getAbsolutePath();
try { try {
entry.title = ripper.getAlbumTitle(ripper.getURL()); entry.title = ripper.getAlbumTitle(ripper.getURL());
} catch (MalformedURLException e) { } } catch (MalformedURLException ignored) { }
HISTORY.add(entry); HISTORY.add(entry);
} }
} }