You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by me...@apache.org on 2023/10/06 20:16:11 UTC
[myfaces] branch 2.3-next updated: Fix MYFACES-4634: check class variable against null rather than passed parameter (#622)
This is an automated email from the ASF dual-hosted git repository.
melloware pushed a commit to branch 2.3-next
in repository https://gitbox.apache.org/repos/asf/myfaces.git
The following commit(s) were added to refs/heads/2.3-next by this push:
new 1cf832ecd Fix MYFACES-4634: check class variable against null rather than passed parameter (#622)
1cf832ecd is described below
commit 1cf832ecdd23c9a5c7e0b3a86c007f2d9803f947
Author: James McLeod <55...@users.noreply.github.com>
AuthorDate: Fri Oct 6 16:16:05 2023 -0400
Fix MYFACES-4634: check class variable against null rather than passed parameter (#622)
---
.../main/java/org/apache/myfaces/config/impl/element/AttributeImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/impl/src/main/java/org/apache/myfaces/config/impl/element/AttributeImpl.java b/impl/src/main/java/org/apache/myfaces/config/impl/element/AttributeImpl.java
index e4716c4cc..5f89cd2a3 100644
--- a/impl/src/main/java/org/apache/myfaces/config/impl/element/AttributeImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/config/impl/element/AttributeImpl.java
@@ -142,7 +142,7 @@ public class AttributeImpl extends org.apache.myfaces.config.element.Attribute i
public void addAttributeExtension(String attributeExtension)
{
- if (attributeExtension == null)
+ if (attributeExtensions == null)
{
attributeExtensions = new ArrayList<>(1);
}