Ok. So the most sensible thing to do is not to write tests for "wrapStringToArray" and test "wrapString" instead.
On Sat, Apr 30, 2022, 2:37 AM antonio <[email protected]> wrote: > Hi, > > The org.openide.util package is exported in the module API [1]. > > The fact that the IDE may not be using this method does not mean that > applications the use the NetBeans Platform are not using it. > > The build system checks if you change any public method in an exported > package, and complains if you change the public API without bumping the > module's API version, as explained in [2]. > > We could deprecate it, so people building apps on top of the NetBeans > Platform have time to change their code, but are there any reasons to > deprecate it? > > Cheers, > Antonio > > > [1] > > https://github.com/apache/netbeans/blob/71f182d6f160bcb3879c38c1f9f9a4925f18074f/platform/openide.util/nbproject/project.xml#L57 > > [2] > https://github.com/apache/netbeans/pull/3988#pullrequestreview-950945196 > > El 30/4/22 a las 1:38, Łukasz Bownik escribió: > > and I found a “*wrapStringToArray > > < > https://github.com/apache/netbeans/blob/71f182d6f160bcb3879c38c1f9f9a4925f18074f/platform/openide.util/src/org/openide/util/BaseUtilities.java#L306>*” > > > method which is only used in platform\openide.util.ui\src\ > > < > https://github.com/apache/netbeans/blob/master/platform/openide.util.ui/src/org/openide/util/Utilities.java>org\openide\util\Utilities. > > > < > https://github.com/apache/netbeans/blob/master/platform/openide.util.ui/src/org/openide/util/Utilities.java>java > > > < > https://github.com/apache/netbeans/blob/master/platform/openide.util.ui/src/org/openide/util/Utilities.java> > > > (lines 382 – 401) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > >
