Hi Christian,

Very good point, this method should definitely provide a default
implementation. The whole point of the new method is that it allows
segment definitions the option to avoid reflection without forcing
them to use it, so it should definitely not be a required API change.
I've changed the method from abstract to having a default NOP
implementation.

Cheers,
James




On Sun, Dec 6, 2009 at 4:12 PM, christian ohr <[email protected]> wrote:
>
> Hi,
>
> in v1.0-beta the new abstract method createNewTypeWithoutReflection(int
> field) in AbstractSegment is not backwards-compatible : custom segments
> derived from this class written for v0.6 do not compile anymore because the
> new abstract class is not overwritten. Is there possibly a way around it?
>
> cheers
> Christian
> --
> View this message in context: 
> http://old.nabble.com/1.0-beta%3A-New-abstract-method-in-AbstractSegment-breaks-backwards-compatibility-tp26669131p26669131.html
> Sent from the hl7api-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Hl7api-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to