[jira] Updated: (ZOOKEEPER-44) DataTree does not use natural sort for getChildren

2008-08-01 Thread Jakob Homan (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jakob Homan updated ZOOKEEPER-44:
-

Attachment: seqfile.diff

Implements the changes discussed in the Jira.

 DataTree does not use natural sort for getChildren
 --

 Key: ZOOKEEPER-44
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-44
 Project: Zookeeper
  Issue Type: Improvement
  Components: server
Affects Versions: 3.0.0
Reporter: Stu Hood
Assignee: Benjamin Reed
Priority: Minor
 Fix For: 3.0.0

 Attachments: seqfile.diff


 DataTree.getChildren() performs Collection.sort() on the list of children 
 before returning it, but Java's default comparator for Strings will sort 
 'lock-20' before 'lock-3' for instance. 

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



[jira] Updated: (ZOOKEEPER-44) DataTree does not use natural sort for getChildren

2008-08-01 Thread Benjamin Reed (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Reed updated ZOOKEEPER-44:
---

Hadoop Flags: [Reviewed]

 DataTree does not use natural sort for getChildren
 --

 Key: ZOOKEEPER-44
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-44
 Project: Zookeeper
  Issue Type: Improvement
  Components: server
Affects Versions: 3.0.0
Reporter: Stu Hood
Assignee: Jakob Homan
Priority: Minor
 Fix For: 3.0.0

 Attachments: seqfile.diff


 DataTree.getChildren() performs Collection.sort() on the list of children 
 before returning it, but Java's default comparator for Strings will sort 
 'lock-20' before 'lock-3' for instance. 

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



[jira] Updated: (ZOOKEEPER-44) DataTree does not use natural sort for getChildren

2008-08-01 Thread Jakob Homan (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jakob Homan updated ZOOKEEPER-44:
-

Attachment: seqfile2.diff

Unnecessary placeholder removed.

 DataTree does not use natural sort for getChildren
 --

 Key: ZOOKEEPER-44
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-44
 Project: Zookeeper
  Issue Type: Improvement
  Components: server
Affects Versions: 3.0.0
Reporter: Stu Hood
Assignee: Jakob Homan
Priority: Minor
 Fix For: 3.0.0

 Attachments: seqfile.diff, seqfile2.diff


 DataTree.getChildren() performs Collection.sort() on the list of children 
 before returning it, but Java's default comparator for Strings will sort 
 'lock-20' before 'lock-3' for instance. 

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



[jira] Updated: (ZOOKEEPER-44) DataTree does not use natural sort for getChildren

2008-08-01 Thread Mahadev konar (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated ZOOKEEPER-44:
---

Resolution: Fixed
Status: Resolved  (was: Patch Available)

I just committed this. THanks Jakob. 


 DataTree does not use natural sort for getChildren
 --

 Key: ZOOKEEPER-44
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-44
 Project: Zookeeper
  Issue Type: Improvement
  Components: server
Affects Versions: 3.0.0
Reporter: Stu Hood
Assignee: Jakob Homan
Priority: Minor
 Fix For: 3.0.0

 Attachments: seqfile.diff, seqfile2.diff


 DataTree.getChildren() performs Collection.sort() on the list of children 
 before returning it, but Java's default comparator for Strings will sort 
 'lock-20' before 'lock-3' for instance. 

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