Closed papacst closed 3 months ago
Notice Viewer is mainly used as a library (at least in MDM). Such polymorphism with overloaded constructors is quite common in libraries. When coding for MDM, I run into this (holding a Path instead of string), so my reaction was to overload it (that caused the issue with diff in jar from maven - I had totally forgotten it :) )
I don't understand why this is needed. The caller can just convert to a Path themselves:
... = new TranslationUriResolver(version, Path.of(someString))