You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by GitBox <gi...@apache.org> on 2022/11/01 15:07:38 UTC
[GitHub] [myfaces] volosied opened a new pull request, #371: MYFACES-4493: Allow Jakarta and JCP namespaces for FacesComponent
volosied opened a new pull request, #371:
URL: https://github.com/apache/myfaces/pull/371
I've also changed componentTagDeclarations / unmodifiableComponentTagDeclarations from a Map to a List to avoid key conflicts and I noticed keys weren't even used (only the values). Unless this was intentional to avoid duplicates, but a set should have been used instead? Nevertheless, Map changed to List and all our unit tests still pass.
https://issues.apache.org/jira/browse/MYFACES-4493
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@myfaces.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [myfaces] volosied commented on a diff in pull request #371: MYFACES-4493: Allow Jakarta and JCP namespaces for FacesComponent
Posted by GitBox <gi...@apache.org>.
volosied commented on code in PR #371:
URL: https://github.com/apache/myfaces/pull/371#discussion_r1010565345
##########
impl/src/main/java/org/apache/myfaces/config/element/FacesConfig.java:
##########
@@ -93,9 +93,9 @@ public List<String> getProtectedViewsUrlPatternList()
* @since 2.2.0
* @return
*/
- public Map<String, ComponentTagDeclaration> getComponentTagDeclarations()
+ public List<ComponentTagDeclaration> getComponentTagDeclarations()
{
- return Collections.emptyMap();
+ return Collections.emptyList();
Review Comment:
If this is accepted, how should I update the description? Keep it as `@since 2.2.0` or update to 4.0.0? Maybe just mention the new return type?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@myfaces.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [myfaces] tandraschko commented on pull request #371: MYFACES-4493: Allow Jakarta and JCP namespaces for FacesComponent
Posted by GitBox <gi...@apache.org>.
tandraschko commented on PR #371:
URL: https://github.com/apache/myfaces/pull/371#issuecomment-1308395377
+1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@myfaces.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [myfaces] melloware commented on a diff in pull request #371: MYFACES-4493: Allow Jakarta and JCP namespaces for FacesComponent
Posted by GitBox <gi...@apache.org>.
melloware commented on code in PR #371:
URL: https://github.com/apache/myfaces/pull/371#discussion_r1010567821
##########
impl/src/main/java/org/apache/myfaces/config/element/FacesConfig.java:
##########
@@ -93,9 +93,9 @@ public List<String> getProtectedViewsUrlPatternList()
* @since 2.2.0
* @return
*/
- public Map<String, ComponentTagDeclaration> getComponentTagDeclarations()
+ public List<ComponentTagDeclaration> getComponentTagDeclarations()
{
- return Collections.emptyMap();
+ return Collections.emptyList();
Review Comment:
Good question. I would say update to 4.0.0?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@myfaces.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [myfaces] melloware merged pull request #371: MYFACES-4493: Allow Jakarta and JCP namespaces for FacesComponent
Posted by GitBox <gi...@apache.org>.
melloware merged PR #371:
URL: https://github.com/apache/myfaces/pull/371
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@myfaces.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org