Menu

#225 HeaderNameBaseMappingStrategy's constructor is no longer public

v1.0 (example)
closed-fixed
None
5
2021-07-26
2021-07-14
Dave Walend
No

HeaderNameBaseMappingStrategy's empty constructor is no longer public in 5.5.

Because it was an empty default constructor (no code) in a public class in 5.4 that implied constructor was public.

In 5.5 the two new constructors added are no longer public. This looks unintentional, but breaks backward compatibility with our code.

The fix should be easy and non-breaking - make at least the no-argument constructor - maybe both constructors - public. I think that was the intent.

Discussion

  • Andrew Rucker Jones

    • status: open --> pending
    • assigned_to: Andrew Rucker Jones
     
  • Andrew Rucker Jones

    Fixed. This will go out with the next version of opencsv. Thanks for the report!

     
    • Dave Walend

      Dave Walend - 2021-07-14

      Thanks for the quick turn-around!

       
  • Andrew Rucker Jones

    • status: pending --> closed-fixed
     
  • Andrew Rucker Jones

    I'm so sorry: I forgot to inform you that the fix for this was released a few days ago in version 5.5.1.

     

Log in to post a comment.

MongoDB Logo MongoDB