Added some tests
This commit is contained in:
parent
b92b01a6cc
commit
76256f7468
13 changed files with 162 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue