rodionmoiseev / c10n

A Java library, focused on making internationalisation more modular, easier to evolve and maintain, robust-to-change and IDE-friendly without excess of external tools.
Apache License 2.0
67 stars 10 forks source link

fix Reflection constructor for compatibility with 0.9.5 and 0.9.8 versions #8

Closed Spikhalskiy closed 12 years ago

Spikhalskiy commented 12 years ago

Used Reflection constructor has been removed from 0.9.8 version of org.reflection library. C10NModule reworket a bit to use more general common constructor with ConfigurationBuilder - this fix compatibility problem with new version of org.reflection library.

rodionmoiseev commented 12 years ago

Thanks for the fix. Maybe we should upgrade dependency on reflections to 0.9.8 as well?

Spikhalskiy commented 12 years ago

@rodionmoiseev Good idea, so this patch make available to use the old version in this case too.

rodionmoiseev commented 12 years ago

Cool. Do you want to add the fix to this pull request? Or shall I included it in the merge?

Spikhalskiy commented 12 years ago

@rodionmoiseev I've included upgrade in this pull request