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

sebb 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 ba729fc83 Fix checkstyle complaints
ba729fc83 is described below

commit ba729fc832230acc21a3c6b520793943cefbcd86
Author: Sebb <s...@apache.org>
AuthorDate: Fri Dec 8 23:29:44 2023 +0000

    Fix checkstyle complaints
---
 src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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 3e78f42d2..90981c968 100644
--- a/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java
+++ b/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java
@@ -254,7 +254,7 @@ public class FastDatePrinter implements DatePrinter, 
Serializable {
     /**
      * Inner class to output a padded number.
      */
-    private final static class PaddedNumberField implements NumberRule {
+    private static final class PaddedNumberField implements NumberRule {
         // Note: This is final to avoid Spotbugs CT_CONSTRUCTOR_THROW
         private final int field;
         private final int size;
@@ -286,7 +286,8 @@ public class FastDatePrinter implements DatePrinter, 
Serializable {
          * {@inheritDoc}
          */
         @Override
-        public final void appendTo(final Appendable buffer, final int value) 
throws IOException {
+        public /* final */ void appendTo(final Appendable buffer, final int 
value) throws IOException {
+            // Checkstyle complains about redundant qualifier
             appendFullDigits(buffer, value, size);
         }
 

Reply via email to