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 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);
LOGGER.error(line);
}
@ -1255,7 +1255,7 @@ public final class MainWindow implements Runnable, RipStatusHandler {
queueListModel.add(queueListModel.size(), realURL);
ripTextfield.setText("");
} else {
dobuleLog("Can't find ripper for " + realURL, Color.RED);
displayAndLogError("Can't find ripper for " + realURL, Color.RED);
}
}
}