mirror of
https://github.com/apache/rocketmq.git
synced 2026-08-29 04:13:00 +08:00
committed by
von gosling
parent
b054a9d4c1
commit
76233ed8b7
@@ -966,7 +966,7 @@ public class LoggingBuilder {
|
||||
rollingCalendar.setType(i);
|
||||
Date next = new Date(rollingCalendar.getNextCheckMillis(epoch));
|
||||
String r1 = simpleDateFormat.format(next);
|
||||
if (r0.equals(r1)) {
|
||||
if (r0 != null && r1 != null && !r0.equals(r1)) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user