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

commit a9e1ce858a38d68a1b105cc2a7b0aea4a446e494
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Jul 9 14:31:10 2024 -0400

    Use diamonds
---
 .../java/org/apache/commons/jci2/core/compiler/JavaCompilerFactory.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/src/main/java/org/apache/commons/jci2/core/compiler/JavaCompilerFactory.java
 
b/core/src/main/java/org/apache/commons/jci2/core/compiler/JavaCompilerFactory.java
index 9f4c2a4..e50e52b 100644
--- 
a/core/src/main/java/org/apache/commons/jci2/core/compiler/JavaCompilerFactory.java
+++ 
b/core/src/main/java/org/apache/commons/jci2/core/compiler/JavaCompilerFactory.java
@@ -38,7 +38,7 @@ public final class JavaCompilerFactory {
     @Deprecated
     private static final JavaCompilerFactory INSTANCE = new 
JavaCompilerFactory();
 
-    private final Map<String, Class<?>> classCache = new HashMap<String, 
Class<?>>();
+    private final Map<String, Class<?>> classCache = new HashMap<>();
 
     /**
      * @deprecated will be remove after the next release, please create an 
instance yourself

Reply via email to