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/06/01 12:42:55 UTC

[commons-text] branch master updated: Remove @SuppressWarnings("PMD") as PMD no longer flags this class.

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 c5648c84 Remove @SuppressWarnings("PMD") as PMD no longer flags this class.
c5648c84 is described below

commit c5648c8443284a589f47ecf7bb279723739765d6
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Jun 1 08:42:50 2022 -0400

    Remove @SuppressWarnings("PMD") as PMD no longer flags this class.
---
 src/main/java/org/apache/commons/text/AlphabetConverter.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/text/AlphabetConverter.java b/src/main/java/org/apache/commons/text/AlphabetConverter.java
index 58f06491..7a4c8227 100644
--- a/src/main/java/org/apache/commons/text/AlphabetConverter.java
+++ b/src/main/java/org/apache/commons/text/AlphabetConverter.java
@@ -327,7 +327,6 @@ public final class AlphabetConverter {
      * @param originals original values
      * @param doNotEncodeMap map of values that should not be encoded
      */
-    @SuppressWarnings("PMD")
     private void addSingleEncoding(final int level,
                                    final String currentEncoding,
                                    final Collection<Integer> encoding,