File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
log4j-1.2-api/src/main/java/org/apache/log4j/helpers
log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ protected void checkAndConfigure() {
6060 try {
6161 fileExists = file .exists ();
6262 } catch (final SecurityException e ) {
63- LogLog .warn ("Was not allowed to read check file existance , file:[" + filename + "]." );
63+ LogLog .warn ("Was not allowed to read check file existence , file:[" + filename + "]." );
6464 interrupted = true ; // there is no point in continuing
6565 return ;
6666 }
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ public PatternConverter parse() {
188188 formattingInfo .max = c - '0' ;
189189 state = MAX_STATE ;
190190 } else {
191- LogLog .error ("Error occured in position " + i + ".\n Was expecting digit, instead got char \" "
191+ LogLog .error ("Error occurred in position " + i + ".\n Was expecting digit, instead got char \" "
192192 + c + "\" ." );
193193 state = LITERAL_STATE ;
194194 }
@@ -397,7 +397,7 @@ public String convert(final LoggingEvent event) {
397397 try {
398398 converted = df .format (date );
399399 } catch (Exception ex ) {
400- LogLog .error ("Error occured while converting date." , ex );
400+ LogLog .error ("Error occurred while converting date." , ex );
401401 }
402402 return converted ;
403403 }
Original file line number Diff line number Diff line change @@ -451,7 +451,7 @@ public String format(final long millis) {
451451
452452 /**
453453 * Creates a String representation of the given Calendar by applying the rules of this printer to it.
454- * @param c the Calender to apply the rules to.
454+ * @param c the Calendar to apply the rules to.
455455 * @return a String representation of the given Calendar.
456456 */
457457 private String applyRulesToString (final Calendar c ) {
You can’t perform that action at this time.
0 commit comments