[infinispan-issues] [JBoss JIRA] Updated: (ISPN-728) Make NamespaceFilter.ISPN_NS not rely on hardcoded version

Manik Surtani (JIRA) jira-events at lists.jboss.org
Fri Oct 29 10:30:55 EDT 2010


     [ https://jira.jboss.org/browse/ISPN-728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manik Surtani updated ISPN-728:
-------------------------------

    Fix Version/s: 4.2.0.ALPHA5
                       (was: 4.2.0.BETA1)


> Make NamespaceFilter.ISPN_NS not rely on hardcoded version
> ----------------------------------------------------------
>
>                 Key: ISPN-728
>                 URL: https://jira.jboss.org/browse/ISPN-728
>             Project: Infinispan
>          Issue Type: Task
>    Affects Versions: 4.2.0.ALPHA4
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>             Fix For: 4.2.0.ALPHA5
>
>
> From Vladimir:
> "I coded this part and I thought it was an accident waiting to happen. However, I could not use expression "urn:infinispan:config:" + Version.getMajorVersion() because compiler forces us to use constant expressions [1] here. 
> If you agree we can add another public static field in Version.java: 
> public static final String MAJOR_VERSION = "4.2"; 
> Maybe we have similar use cases somewhere else as well! 
> [1] http://java.sun.com/docs/books/jls/third_edition/html/expressions.html#15.28"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list