On Thu, May 25, 2017 at 9:41 AM, Stephen Colebourne <scolebou...@joda.org> wrote:
> On 25 May 2017 at 17:23, Oliver Heger <oliver.he...@oliver-heger.de> > wrote: > > I also think that a new major release just to fix this problem would be > > overkill and cause clients even more trouble. > > > > Would the following approach work as a compromise: > > > > - [lang] declares an optional dependency to the desktop module. > > - All affected classes (AbstractCircuitBreaker and its two sub classes) > > are marked as deprecated. > > - Copies are created from the original classes with slightly changed > > names or in a new package (tbd). These copies use a new change listener > > mechanism. > > > > IIUC, the resulting [lang] module can now be used without the dependency > > to desktop when the new classes are used. The dependency will only be > > needed for the deprecated versions. > > This seems like a reasonable compromise approach to me. Especially as > I haven't heard anything else that would drive the need for a v4.0. > We have started to move code from [lang] to [text]. Once we are happy with [text], we can deprecate the code in [lang] and that would be another item for lang4. Gary > > Stephen > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition <https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459> JUnit in Action, Second Edition <https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021> Spring Batch in Action <https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory