diff --git a/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java b/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java index 90981c968..ce21d37e1 100644 --- a/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java +++ b/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java @@ -976,7 +976,7 @@ public class FastDatePrinter implements DatePrinter, Serializable { int digit = 0; while (value != 0) { work[digit++] = (char) (value % 10 + '0'); - value = value / 10; + value /= 10; } // pad with zeros