Skip to content

Commit bed0200

Browse files
committed
fix mini bug
1 parent 14e0991 commit bed0200

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

src/main/java/de/mint/consoleline/Format/CustomFormat.java

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ public class CustomFormat {
1414
private String message;
1515

1616
public CustomFormat(
17-
String stringFormat,
18-
String previewColor,
19-
SimpleDateFormat simpleDateFormat,
20-
String message) {
17+
String stringFormat, String previewColor, SimpleDateFormat simpleDateFormat, String message) {
2118
this.stringFormat = stringFormat;
2219
this.previewColor = previewColor;
2320
this.simpleDateFormat = simpleDateFormat;
@@ -33,23 +30,24 @@ public String format() {
3330
time,
3431
CustomColors.YELLOW,
3532
"WARN",
33+
this.previewColor,
3634
message,
3735
CustomColors.RESET);
3836
}
3937

40-
public String getStringFormat() {
41-
return stringFormat;
42-
}
38+
public String getStringFormat() {
39+
return stringFormat;
40+
}
4341

44-
public String getPreviewColor() {
45-
return previewColor;
46-
}
42+
public String getPreviewColor() {
43+
return previewColor;
44+
}
4745

48-
public SimpleDateFormat getSimpleDateFormat() {
49-
return simpleDateFormat;
50-
}
46+
public SimpleDateFormat getSimpleDateFormat() {
47+
return simpleDateFormat;
48+
}
5149

52-
public String getMessage() {
53-
return message;
54-
}
50+
public String getMessage() {
51+
return message;
52+
}
5553
}

0 commit comments

Comments
 (0)