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
The following commit(s) were added to refs/heads/master by this push:
new 06d187c8e Use /=
06d187c8e is described below
commit 06d187c8ed821594dce1ed2a7207de049b87d521
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jan 15 09:46:33 2024 -0500
Use /=
---
src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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