Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-0: Fixing javadoc

Ryan Kurtz39aa8542cd15
diff --git a/Ghidra/Framework/Generic/src/main/java/ghidra/util/StringUtilities.java b/Ghidra/Framework/Generic/src/main/java/ghidra/util/StringUtilities.java
index 01ea5638ac..514a4d15d6 100644
--- a/Ghidra/Framework/Generic/src/main/java/ghidra/util/StringUtilities.java
+++ b/Ghidra/Framework/Generic/src/main/java/ghidra/util/StringUtilities.java
@@ -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.
*/