This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git

commit 817d50f746adfb485355d8d3a3ae4b9833ed3f63
Author: Gary D. Gregory <[email protected]>
AuthorDate: Sat Oct 25 17:51:17 2025 -0400

    Migrate from deprecated method
---
 src/main/java/org/apache/commons/lang3/time/FastDateFormat.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/lang3/time/FastDateFormat.java 
b/src/main/java/org/apache/commons/lang3/time/FastDateFormat.java
index c1db99bb9..e77de589c 100644
--- a/src/main/java/org/apache/commons/lang3/time/FastDateFormat.java
+++ b/src/main/java/org/apache/commons/lang3/time/FastDateFormat.java
@@ -377,7 +377,7 @@ protected FastDateFormat(final String pattern, final 
TimeZone timeZone, final Lo
      */
     @Deprecated
     protected StringBuffer applyRules(final Calendar calendar, final 
StringBuffer buf) {
-        return printer.applyRules(calendar, buf);
+        return printer.format(calendar, buf);
     }
 
     // Basics

Reply via email to