#1 Use enums rather than ints for types and state

3.0.0
closed
java client (3)
5
2008-06-10
2007-11-13
No

There are a couple of places in ZooKeeper that ints are used when we should really be using enums. The most severe example are the types and states for watch events. It is not always clear which is a type and which is a state.

Discussion

  • Don Pinto

    Don Pinto - 2008-03-18

    Logged In: YES
    user_id=1289601
    Originator: NO

    Hi Benjamin,

    Is it OK for me to work on this ? I am interested to contribute to this project.

    Thx,
    Don

     
  • Benjamin Reed

    Benjamin Reed - 2008-03-18

    Logged In: YES
    user_id=154690
    Originator: YES

    Yes please! Contributions are welcome!

    thanx
    ben

     
  • Benjamin Reed

    Benjamin Reed - 2008-05-12

    Logged In: YES
    user_id=154690
    Originator: YES

    Bart had expressed intrest in fixing this.

     
  • Benjamin Reed

    Benjamin Reed - 2008-05-12
    • milestone: --> 3.0.0
    • assigned_to: nobody --> mahadevkonar
     
  • Patrick Hunt

    Patrick Hunt - 2008-06-10
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks