Skip to content

Commit 817d50f

Browse files
committed
Migrate from deprecated method
1 parent b5cb40c commit 817d50f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/commons/lang3/time/FastDateFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ protected FastDateFormat(final String pattern, final TimeZone timeZone, final Lo
377377
*/
378378
@Deprecated
379379
protected StringBuffer applyRules(final Calendar calendar, final StringBuffer buf) {
380-
return printer.applyRules(calendar, buf);
380+
return printer.format(calendar, buf);
381381
}
382382

383383
// Basics

0 commit comments

Comments
 (0)