Refactor: Fix spelling of Christmas

This commit is contained in:
DeepCrimson 2022-06-24 18:39:04 -07:00
parent 6a1fcfe37a
commit 59505feccb
3 changed files with 48 additions and 49 deletions

View file

@ -489,7 +489,7 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
}
}
public static boolean isChrismasTime(Date currentTime) {
public static boolean isChristmasTime(Date currentTime) {
// from december 15 to january 15
Calendar cal = new GregorianCalendar();
cal.setTime(currentTime);
@ -513,9 +513,9 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
String filename;
float ratio;
if (isChrismasTime(Calendar.getInstance().getTime())) {
// chrismass logo
LOGGER.info("Yo Ho Ho, Merry Christmas and a Happy New Year");
if (isChristmasTime(Calendar.getInstance().getTime())) {
// Christmas logo
LOGGER.info("Ho Ho Ho, Merry Christmas and a Happy New Year");
filename = "/label-xmage-christmas.png";
ratio = 539.0f / 318.0f;
} else {