From 87730a647481d13e68e227513999c275b7844864 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sat, 20 Jan 2024 10:52:48 -0500 Subject: [PATCH] Normalize end of comments --- .../java/org/apache/commons/lang3/builder/HashCodeBuilder.java | 1 - .../java/org/apache/commons/lang3/builder/ToStringStyle.java | 1 - .../org/apache/commons/lang3/concurrent/BasicThreadFactory.java | 1 - .../java/org/apache/commons/lang3/time/FastDatePrinter.java | 1 - src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java | 1 - .../java/org/apache/commons/lang3/StringUtilsValueOfTest.java | 1 - .../org/apache/commons/lang3/builder/ToStringStyleTest.java | 1 - .../org/apache/commons/lang3/exception/ExceptionUtilsTest.java | 1 - .../apache/commons/lang3/text/ExtendedMessageFormatTest.java | 1 - .../org/apache/commons/lang3/time/DateUtilsRoundingTest.java | 2 -- .../java/org/apache/commons/lang3/time/FastDateFormatTest.java | 1 - .../apache/commons/lang3/time/FastDateFormat_PrinterTest.java | 1 - .../java/org/apache/commons/lang3/time/FastDateParserTest.java | 1 - .../java/org/apache/commons/lang3/time/FastDatePrinterTest.java | 1 - 14 files changed, 15 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java b/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java index 3b17f5cec..7e3cb33c2 100644 --- a/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java +++ b/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java @@ -507,7 +507,6 @@ public class HashCodeBuilder implements Builder { /** * Uses two hard coded choices for the constants needed to build a {@code hashCode}. - * */ public HashCodeBuilder() { iConstant = 37; diff --git a/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java b/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java index 7c956c6cf..a722f0a6f 100644 --- a/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java +++ b/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java @@ -686,7 +686,6 @@ public abstract class ToStringStyle implements Serializable { /** * A registry of objects used by {@code reflectionToString} methods * to detect cyclical object references and avoid infinite loops. - * */ private static final ThreadLocal> REGISTRY = new ThreadLocal<>(); /* diff --git a/src/main/java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java b/src/main/java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java index ba3e4d96d..dcf220108 100644 --- a/src/main/java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java +++ b/src/main/java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java @@ -100,7 +100,6 @@ public class BasicThreadFactory implements ThreadFactory { * chaining is supported. Refer to the documentation of {@code * BasicThreadFactory} for a usage example. *

- * */ public static class Builder implements org.apache.commons.lang3.builder.Builder { 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 ce21d37e1..6b75ede7a 100644 --- a/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java +++ b/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java @@ -765,7 +765,6 @@ public class FastDatePrinter implements DatePrinter, Serializable { /** * Constructs an instance of {@link UnpaddedMonthField}. - * */ UnpaddedMonthField() { } diff --git a/src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java b/src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java index 2168cdc86..3ffc4288a 100644 --- a/src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java @@ -458,7 +458,6 @@ public class LocaleUtilsTest extends AbstractLangTest { /** * Test for 3-chars locale, further details at LANG-915 - * */ @Test public void testThreeCharsLocale() { diff --git a/src/test/java/org/apache/commons/lang3/StringUtilsValueOfTest.java b/src/test/java/org/apache/commons/lang3/StringUtilsValueOfTest.java index 119d19449..1033960c9 100644 --- a/src/test/java/org/apache/commons/lang3/StringUtilsValueOfTest.java +++ b/src/test/java/org/apache/commons/lang3/StringUtilsValueOfTest.java @@ -21,7 +21,6 @@ import org.junit.jupiter.api.Test; /** * Tests {@link StringUtils}'s valueOf() methods. - * */ public class StringUtilsValueOfTest extends AbstractLangTest { diff --git a/src/test/java/org/apache/commons/lang3/builder/ToStringStyleTest.java b/src/test/java/org/apache/commons/lang3/builder/ToStringStyleTest.java index 1138d7023..c3ccb43b8 100644 --- a/src/test/java/org/apache/commons/lang3/builder/ToStringStyleTest.java +++ b/src/test/java/org/apache/commons/lang3/builder/ToStringStyleTest.java @@ -28,7 +28,6 @@ public class ToStringStyleTest extends AbstractLangTest { /** * An object used to test {@link ToStringStyle}. - * */ static class Person { /** diff --git a/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java b/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java index e6815d4b7..e3d39b48f 100644 --- a/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java @@ -46,7 +46,6 @@ import org.junit.jupiter.api.Test; /** * Tests {@link org.apache.commons.lang3.exception.ExceptionUtils}. - * */ public class ExceptionUtilsTest extends AbstractLangTest { diff --git a/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java b/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java index ceb135622..a7c5fb47e 100644 --- a/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java +++ b/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java @@ -39,7 +39,6 @@ import org.junit.jupiter.api.Test; /** * Test case for {@link ExtendedMessageFormat}. - * */ @Deprecated public class ExtendedMessageFormatTest extends AbstractLangTest { diff --git a/src/test/java/org/apache/commons/lang3/time/DateUtilsRoundingTest.java b/src/test/java/org/apache/commons/lang3/time/DateUtilsRoundingTest.java index ecb70645c..fef25d80f 100644 --- a/src/test/java/org/apache/commons/lang3/time/DateUtilsRoundingTest.java +++ b/src/test/java/org/apache/commons/lang3/time/DateUtilsRoundingTest.java @@ -38,7 +38,6 @@ import org.junit.jupiter.api.Test; * A month with 28 days will be rounded up from the 15th * A month with 29 or 30 days will be rounded up from the 16th * A month with 31 days will be rounded up from the 17th - * */ public class DateUtilsRoundingTest extends AbstractLangTest { @@ -620,7 +619,6 @@ public class DateUtilsRoundingTest extends AbstractLangTest { /** * Test DateUtils.truncate()-method with Calendar.SECOND - * */ @Test public void testTruncateMilliSecond() { diff --git a/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java b/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java index 1b8961b6e..378d7f0bd 100644 --- a/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java +++ b/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java @@ -45,7 +45,6 @@ import org.junitpioneer.jupiter.DefaultTimeZone; /** * Unit tests {@link org.apache.commons.lang3.time.FastDateFormat}. - * */ public class FastDateFormatTest extends AbstractLangTest { private static final int NTHREADS = 10; diff --git a/src/test/java/org/apache/commons/lang3/time/FastDateFormat_PrinterTest.java b/src/test/java/org/apache/commons/lang3/time/FastDateFormat_PrinterTest.java index 5b7e07a4e..e922a769d 100644 --- a/src/test/java/org/apache/commons/lang3/time/FastDateFormat_PrinterTest.java +++ b/src/test/java/org/apache/commons/lang3/time/FastDateFormat_PrinterTest.java @@ -21,7 +21,6 @@ import java.util.TimeZone; /** * Unit tests for the print methods of FastDateFormat - * */ public class FastDateFormat_PrinterTest extends FastDatePrinterTest { diff --git a/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java b/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java index 430b8a3b0..6b3159493 100644 --- a/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java +++ b/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java @@ -49,7 +49,6 @@ import org.junit.jupiter.params.provider.MethodSource; /** * Unit tests {@link org.apache.commons.lang3.time.FastDateParser}. - * */ public class FastDateParserTest extends AbstractLangTest { diff --git a/src/test/java/org/apache/commons/lang3/time/FastDatePrinterTest.java b/src/test/java/org/apache/commons/lang3/time/FastDatePrinterTest.java index e3cc4d0f5..e37b6925a 100644 --- a/src/test/java/org/apache/commons/lang3/time/FastDatePrinterTest.java +++ b/src/test/java/org/apache/commons/lang3/time/FastDatePrinterTest.java @@ -38,7 +38,6 @@ import org.junitpioneer.jupiter.DefaultTimeZone; /** * Unit tests {@link org.apache.commons.lang3.time.FastDatePrinter}. - * */ public class FastDatePrinterTest extends AbstractLangTest {