• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • Joda - Convert
  • Bugs

allow duplicate converter registrations

Project moved to GitHub

Brought to you by: scolebourne
This project can now be found here.
  • Summary
  • Files
  • Reviews
  • Support
  • Mailing Lists
  • Code
  • Bugs
  • Donate
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

  • v1.0_(example)

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#1 allow duplicate converter registrations

open
nobody
Interface (example) (1)
5
2012-12-10
2012-08-15
Anonymous
No

I'd like to take advantage of most of the built-in JDK converters, but override one or two with custom logic.

That's not possible because calling register will throw an IllegalStateException "Converter already registered".

For example, if a user wants to use all built-in converters but tweak convertFromString for all enums to allow case-insensitive matches, that's not currently possible with this API.

Discussion

  • Stephen Colebourne

    Stephen Colebourne - 2012-12-10

    Moved to GitHub
    https://github.com/JodaOrg/joda-convert/issues/1

     
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
    • Anonymous
      Anonymous

      Add attachments
      Cancel





Anonymous
Anonymous

Add attachments
Cancel





SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2026 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
MongoDB Logo MongoDB