You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/05/20 15:52:45 UTC

[jira] Created: (JCR-2121) Use java.util.UUID

Use java.util.UUID
------------------

                 Key: JCR-2121
                 URL: https://issues.apache.org/jira/browse/JCR-2121
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-core, jackrabbit-jcr-commons
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting
            Priority: Minor
             Fix For: 2.0.0


Replace the use of org.apache.jackrabbit.uuid.UUID with the new java.util.UUID class introduced in Java 5.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-2121) Use java.util.UUID

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-2121:
-------------------------------

    Fix Version/s:     (was: 2.0.0)

> Use java.util.UUID
> ------------------
>
>                 Key: JCR-2121
>                 URL: https://issues.apache.org/jira/browse/JCR-2121
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core, jackrabbit-jcr-commons
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>
> Replace the use of org.apache.jackrabbit.uuid.UUID with the new java.util.UUID class introduced in Java 5.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (JCR-2121) Use java.util.UUID

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting reopened JCR-2121:
--------------------------------


Reopening, as now after JCR-1232 there are only a few non-critical references to the UUID class. Let's use java.util.UUID for those.

> Use java.util.UUID
> ------------------
>
>                 Key: JCR-2121
>                 URL: https://issues.apache.org/jira/browse/JCR-2121
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core, jackrabbit-jcr-commons
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>
> Replace the use of org.apache.jackrabbit.uuid.UUID with the new java.util.UUID class introduced in Java 5.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-2121) Use java.util.UUID

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved JCR-2121.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

I have now replaced all UUID references with java.util.UUID or NodeId as appropriate.

I also removed the org.apache.jackrabbit.uuid package as it is no longer used.

> Use java.util.UUID
> ------------------
>
>                 Key: JCR-2121
>                 URL: https://issues.apache.org/jira/browse/JCR-2121
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core, jackrabbit-jcr-commons
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> Replace the use of org.apache.jackrabbit.uuid.UUID with the new java.util.UUID class introduced in Java 5.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-2121) Use java.util.UUID

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved JCR-2121.
--------------------------------

    Resolution: Won't Fix

Hmm, after looking at the java.util.UUID class a bit more I don't think we should do it. It contains a number of transient fields that result in quite a bit more memory usage than with our existing UUID class.

So resolving as Won't Fix. Instead I think we could look at continuing work on JCR-1232.

> Use java.util.UUID
> ------------------
>
>                 Key: JCR-2121
>                 URL: https://issues.apache.org/jira/browse/JCR-2121
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core, jackrabbit-jcr-commons
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> Replace the use of org.apache.jackrabbit.uuid.UUID with the new java.util.UUID class introduced in Java 5.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.