You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2023/01/27 16:08:25 UTC

[tomcat] 01/04: Add missing final (reported by SpotBugs)

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

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 36996b72022112eaa61217420f7975b6e9a491fc
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Jan 27 15:44:53 2023 +0000

    Add missing final (reported by SpotBugs)
---
 java/org/apache/tomcat/util/buf/CharsetHolder.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/buf/CharsetHolder.java b/java/org/apache/tomcat/util/buf/CharsetHolder.java
index 953925ce13..a7c8d2fc63 100755
--- a/java/org/apache/tomcat/util/buf/CharsetHolder.java
+++ b/java/org/apache/tomcat/util/buf/CharsetHolder.java
@@ -33,7 +33,7 @@ import java.nio.charset.Charset;
  */
 public class CharsetHolder {
 
-    public static CharsetHolder EMPTY = new CharsetHolder(null, null);
+    public static final CharsetHolder EMPTY = new CharsetHolder(null, null);
 
     public static CharsetHolder getInstance(String name) {
         if (name == null) {


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org