You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Paul Lindner (JIRA)" <ji...@apache.org> on 2009/02/18 20:24:01 UTC
[jira] Commented: (SHINDIG-924) Should not allow registration of
two features with the same name
[ https://issues.apache.org/jira/browse/SHINDIG-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674751#action_12674751 ]
Paul Lindner commented on SHINDIG-924:
--------------------------------------
Adam, can you expand on what this does when you have dupe features in feature.txt?
This seems too much like voodoo and should probably be handled in another fashion...
> Should not allow registration of two features with the same name
> ----------------------------------------------------------------
>
> Key: SHINDIG-924
> URL: https://issues.apache.org/jira/browse/SHINDIG-924
> Project: Shindig
> Issue Type: Bug
> Components: Java
> Reporter: Bob Evans
> Priority: Minor
> Fix For: trunk
>
> Attachments: fix-924-bug.patch
>
>
> It seems there is never a good reason to register two features with the same name. Actually, the code allowing it causes feature developers to make mistakes -- trust me. Throw an IllegalArgumentException if a second feature with the same name is registered.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.