mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-22 21:43:06 +02:00
code cleanup
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user