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/05/31 12:48:35 UTC

[commons-text] 03/04: Use final

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

commit 587446d818fa79a7e6f58d92b3da74b116fe9f00
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue May 31 08:45:44 2022 -0400

    Use final
---
 src/main/java/org/apache/commons/text/lookup/DefaultStringLookup.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/text/lookup/DefaultStringLookup.java b/src/main/java/org/apache/commons/text/lookup/DefaultStringLookup.java
index 520ed384..ce01c81e 100644
--- a/src/main/java/org/apache/commons/text/lookup/DefaultStringLookup.java
+++ b/src/main/java/org/apache/commons/text/lookup/DefaultStringLookup.java
@@ -121,7 +121,7 @@ public enum DefaultStringLookup {
      * Prints out to the console the mapping from enum keys to enum name.
      * @param args ignored.
      */
-    public static void main(String[] args) {
+    public static void main(final String[] args) {
         Stream.of(values()).forEach(e -> System.out.println(e.getKey() + "=" + e.name()));
     }