You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/07/09 12:43:11 UTC

[commons-text] branch master updated: Remove useless inline comments

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-text.git


The following commit(s) were added to refs/heads/master by this push:
     new 50b53549 Remove useless inline comments
50b53549 is described below

commit 50b535496d74819b712406a7e489ff4f66e79d1a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jul 9 08:43:06 2022 -0400

    Remove useless inline comments
---
 src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java   | 3 ---
 .../java/org/apache/commons/text/similarity/CosineDistanceTest.java    | 2 --
 2 files changed, 5 deletions(-)

diff --git a/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java b/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java
index eb5fe01f..314dc73f 100644
--- a/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java
+++ b/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java
@@ -60,7 +60,6 @@ public class ExtendedMessageFormatTest {
         }
     }
 
-    // ------------------------ Test Format Factories ---------------
     /**
      * {@link FormatFactory} implementation for lower case format.
      */
@@ -499,8 +498,6 @@ public class ExtendedMessageFormatTest {
         assertThatIllegalArgumentException().isThrownBy(() -> new ExtendedMessageFormat("9jLh_D9{ ", new HashMap<String, FormatFactory>()));
     }
 
-    // ------------------------ Test Formats ------------------------
-
     @Test
     public void testFailsToCreateExtendedMessageFormatTakingTwoArgumentsThrowsIllegalArgumentExceptionTwo() {
         assertThatIllegalArgumentException().isThrownBy(() -> new ExtendedMessageFormat("a5XdkR;T1{9 ,LzXf?", new HashMap<String, FormatFactory>()));
diff --git a/src/test/java/org/apache/commons/text/similarity/CosineDistanceTest.java b/src/test/java/org/apache/commons/text/similarity/CosineDistanceTest.java
index f17ebd96..2781e776 100644
--- a/src/test/java/org/apache/commons/text/similarity/CosineDistanceTest.java
+++ b/src/test/java/org/apache/commons/text/similarity/CosineDistanceTest.java
@@ -52,8 +52,6 @@ public class CosineDistanceTest {
         return new BigDecimal(value).setScale(2, RoundingMode.HALF_UP).doubleValue();
     }
 
-    // --- Utility methods
-
     /**
      * Tests the cosine distance with several inputs.
      */