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 2022/08/03 11:17:24 UTC

[myfaces] branch main updated: comment: renaming constant (#287)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 1ebcfc27f comment: renaming constant (#287)
1ebcfc27f is described below

commit 1ebcfc27fdc658fa45042473eabe471b66e040ee
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Wed Aug 3 13:17:18 2022 +0200

    comment: renaming constant (#287)
    
    Co-authored-by: Udo Schnurpfeil <ud...@irian.eu>
---
 .../myfaces/view/facelets/tag/faces/html/DefaultTagDecorator.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/faces/html/DefaultTagDecorator.java b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/faces/html/DefaultTagDecorator.java
index 3556ae3d1..bf15ecd5b 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/faces/html/DefaultTagDecorator.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/faces/html/DefaultTagDecorator.java
@@ -176,7 +176,7 @@ public class DefaultTagDecorator implements TagDecorator
             return null;
         }
         
-        // One or many attributes has the JSF_NAMESPACE attribute set. Check empty or
+        // One or many attributes has the JsfLibrary.NAMESPACE attribute set. Check empty or
         // xhtml namespace
         if (EMPTY_NAMESPACE.equals(tag.getNamespace()) || XHTML_NAMESPACE.equals(tag.getNamespace()))
         {
@@ -222,7 +222,7 @@ public class DefaultTagDecorator implements TagDecorator
         }
         else
         {
-            throw new FaceletException("Attributes under " +JsfLibrary.NAMESPACE +
+            throw new FaceletException("Attributes under " + JsfLibrary.NAMESPACE +
                 " can only be used for tags under " + XHTML_NAMESPACE + " or tags with no namespace defined" );
         }
     }