Create tests for StringUtils#getStackTrace and StringUtils#getDifference
- Create tests - Make StringUtils final with private constructor (utility class)
This commit is contained in:
@@ -10,10 +10,14 @@ import java.io.StringWriter;
|
||||
/**
|
||||
* Utility class for String operations.
|
||||
*/
|
||||
public class StringUtils {
|
||||
public final class StringUtils {
|
||||
|
||||
public static final String newline = System.getProperty("line.separator");
|
||||
|
||||
private StringUtils() {
|
||||
// Utility class
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the difference of two strings.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user