[jsword-devel] UnsupportedOperationException!
DM Smith
dmsmith at crosswire.org
Thu Apr 11 13:21:36 MST 2013
If Tonny weighs in with the same, I'll delete them.
In Him,
DM
On Apr 11, 2013, at 4:01 PM, Chris Burrell <chris at burrell.me.uk> wrote:
> I agree with Martin. Usually deprecated means the methods still work and are kept for 1 or 2 releases before being removed. There are different policies around. For example Java SDK deprecates which essentially means the use of a method is undesirable (and presumably bugs wouldn't be fixed, nor behaviour guaranteed to be consistent).
>
> Other people like the JQuery folk, keep the methods around for 1 release, sometimes longer, before getting rid of them.
>
> I'd be in favour of keeping the method only if:
> a- it still works as expected
> b- we intend to remove it.
>
> if we change the expected behaviour, I would personally remove it completely to force users to update their latest release.
>
> Chris
>
>
>
> On 11 April 2013 20:32, Martin Denham <mjdenham at gmail.com> wrote:
> No, they are deprecated, but so many methods are deprecated that I was living with the deprecations for now. Personally I would rather only mark methods as deprecated if they still, at least partially, function. If the method doesn't work I would delete it.
>
> But it is okay, eventually I will hopefully get rid of all of the deprecations and UOE crashes.
>
> Martin
>
>
> On 11 April 2013 20:26, DM Smith <dmsmith at crosswire.org> wrote:
> They should be marked as deprecated. The idea is that they aide migration, but will be removed in an immediately following release.
>
> Did I miss marking them?
>
> In Him,
> DM
> On Apr 11, 2013, at 3:24 PM, Martin Denham <mjdenham at gmail.com> wrote:
>
> > Hi,
> >
> > Some methods, particularly in BibleBook, throw UnsupportedOperationException. Would it be better to simply remove these methods so that we get a compile error rather than occasional runtime exceptions?
> >
> > Martin
> > _______________________________________________
> > jsword-devel mailing list
> > jsword-devel at crosswire.org
> > http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20130411/39288b11/attachment.html>
More information about the jsword-devel
mailing list