GP-0: Fixing javadoc

This commit is contained in:
Ryan Kurtz 2025-03-25 12:08:02 -04:00
parent 397a814f5f
commit 39aa8542cd

View file

@ -1195,14 +1195,13 @@ public class StringUtilities {
/**
* Wrap the given string at whitespace to best fit within the given line width
*
* <p>
* If it is not possible to fit a word in the given width, it will be put on a line by itself,
* and that line will be allowed to exceed the given width.
*
* @param str the string to wrap
* @param width the max width of each line, unless a single word exceeds it
* @return
* @return The wrapped string
*/
public static String wrapToWidth(String str, int width) {
return new LineWrapper(width).append(str).finish();
@ -1210,7 +1209,7 @@ public class StringUtilities {
/**
* Removes any whitespace from start or end of string, then replaces any non-printable
* character (< 32) or spaces (32) with an underscore.
* character (&lt; 32) or spaces (32) with an underscore.
* @param s the string to adjust
* @return a new trimmed string with underscores replacing any non-printable characters.
*/