mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GP-0: Fixing javadoc
This commit is contained in:
parent
397a814f5f
commit
39aa8542cd
1 changed files with 2 additions and 3 deletions
|
@ -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 (< 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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue