You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2024/06/19 01:09:50 UTC

(groovy) branch master updated: trivial refactor: remove findbugs warning

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

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new 8716fa1caa trivial refactor: remove findbugs warning
8716fa1caa is described below

commit 8716fa1caabb877dfa9bafc8fc27f805e56ad468
Author: Paul King <pa...@asert.com.au>
AuthorDate: Wed Jun 19 11:09:37 2024 +1000

    trivial refactor: remove findbugs warning
---
 src/main/java/groovy/lang/GroovyClassLoader.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/groovy/lang/GroovyClassLoader.java b/src/main/java/groovy/lang/GroovyClassLoader.java
index 6e67bffeaa..5a081c1775 100644
--- a/src/main/java/groovy/lang/GroovyClassLoader.java
+++ b/src/main/java/groovy/lang/GroovyClassLoader.java
@@ -98,7 +98,7 @@ public class GroovyClassLoader extends URLClassLoader {
     protected final StampedCommonCache<String, Class> sourceCache = new StampedCommonCache<>();
 
     private final CompilerConfiguration config;
-    private String sourceEncoding;
+    private final String sourceEncoding;
     private Boolean recompile;
 
     /**