#143 Recur should provide no-args constructor

closed-fixed
General (64)
5
2012-01-14
2012-01-14
No

Currently deserializing an object containing a recur type is not easily possible with GSON to Json since recur does not provide a no-args constructor. One has to register an InstanceCreator which is semantically not correct.

Discussion

  • Ben Fortuna

    Ben Fortuna - 2012-01-14

    Hi Robert,

    I don't see a reason not to have a no-args constructor. I have added it with a test in RecurSpec. Changes now available on the ical4j-1.x-maintenance branch.

     
  • Ben Fortuna

    Ben Fortuna - 2012-01-14
    • labels: --> General
    • milestone: --> Maintenance Branch (1.x)
    • assigned_to: nobody --> fortuna
    • status: open --> closed-fixed
     

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