Added some tests

This commit is contained in:
Erik C. Thauvin 2023-03-15 02:09:34 -07:00
parent b92b01a6cc
commit 76256f7468
13 changed files with 162 additions and 1 deletions

View file

@ -21,7 +21,6 @@ import rife.template.Template;
import rife.template.ValueRenderer;
import rife.tools.Localization;
import java.text.DateFormat;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;

View file

@ -40,6 +40,7 @@ public class SwapCase implements ValueRenderer {
* @param src the String to swap the case of
* @return the modified String or null
*/
@SuppressWarnings("PMD.AvoidReassigningLoopVariables")
public static String swapCase(final String src) {
if (src == null || src.isEmpty()) {
return src;