Changed name of func dobuleLog to displayAndLogError

This commit is contained in:
cyian-1756 2018-09-11 04:52:25 -04:00
parent 37bf287df1
commit 839857426c

View File

@ -1078,7 +1078,7 @@ public final class MainWindow implements Runnable, RipStatusHandler {
* @param line the string to log * @param line the string to log
* @param color the color of the line for the GUI log * @param color the color of the line for the GUI log
*/ */
public void dobuleLog(String line, Color color) { public void displayAndLogError(String line, Color color) {
appendLog(line, color); appendLog(line, color);
LOGGER.error(line); LOGGER.error(line);
} }
@ -1255,7 +1255,7 @@ public final class MainWindow implements Runnable, RipStatusHandler {
queueListModel.add(queueListModel.size(), realURL); queueListModel.add(queueListModel.size(), realURL);
ripTextfield.setText(""); ripTextfield.setText("");
} else { } else {
dobuleLog("Can't find ripper for " + realURL, Color.RED); displayAndLogError("Can't find ripper for " + realURL, Color.RED);
} }
} }
} }