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

dklco pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git

commit ed2a4da8b2cf558bb1a025096c801ff1a48ba809
Author: Dan Klco <[email protected]>
AuthorDate: Thu Dec 17 09:46:46 2020 -0500

    Removing unneeded class from angle brackets
---
 .../org/apache/sling/cms/core/internal/models/ComponentManagerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/src/main/java/org/apache/sling/cms/core/internal/models/ComponentManagerImpl.java
 
b/core/src/main/java/org/apache/sling/cms/core/internal/models/ComponentManagerImpl.java
index 1493b80..a7e2bd4 100644
--- 
a/core/src/main/java/org/apache/sling/cms/core/internal/models/ComponentManagerImpl.java
+++ 
b/core/src/main/java/org/apache/sling/cms/core/internal/models/ComponentManagerImpl.java
@@ -108,7 +108,7 @@ public class ComponentManagerImpl implements 
ComponentManager {
             if (component != null) {
                 for (String type : component.getComponentType()) {
                     if (!componentCache.containsKey(type)) {
-                        componentCache.put(type, new ArrayList<Component>());
+                        componentCache.put(type, new ArrayList<>());
                     }
                     componentCache.get(type).add(component);
                 }

Reply via email to