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

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Mon Oct 25 06:04:54 EDT 2010


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

Galder Zamarreño resolved ISPN-728.
-----------------------------------

    Resolution: Done


> 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.BETA1
>
>
> 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