Whitespace tweaks.

This commit is contained in:
Michael Bayne
2023-11-15 09:57:27 -08:00
parent 0b1c1b69a0
commit 3a6cd57e00
@@ -212,17 +212,15 @@ public class Mustache {
}
/**
* Replaces "".equals(value). E.g. only not null values with length 0
* Replaces "".equals(value). E.g. only not null values with length 0.
*/
private boolean isEmptyCharSequence(Object value) {
private boolean isEmptyCharSequence (Object value) {
if (value == null) {
return false;
}
if(value instanceof CharSequence) {
if (value instanceof CharSequence) {
return ((CharSequence) value).length() == 0;
}
return false;
}