This commit is contained in:
@@ -40,9 +40,10 @@ public final class EnMember<W extends Writer, T, F> implements Comparable<EnMemb
|
|||||||
F value = attribute.get(obj);
|
F value = attribute.get(obj);
|
||||||
if (value == null) return comma;
|
if (value == null) return comma;
|
||||||
if (out.isTiny()) {
|
if (out.isTiny()) {
|
||||||
if (isnumber) {
|
// if (isnumber) {
|
||||||
if (((Number) value).intValue() == 0) return comma;
|
// if (((Number) value).intValue() == 0) return comma;
|
||||||
} else if (istring) {
|
// }
|
||||||
|
if (istring) {
|
||||||
if (((CharSequence) value).length() == 0) return comma;
|
if (((CharSequence) value).length() == 0) return comma;
|
||||||
} else if (isbool) {
|
} else if (isbool) {
|
||||||
if (!((Boolean) value)) return comma;
|
if (!((Boolean) value)) return comma;
|
||||||
|
|||||||
Reference in New Issue
Block a user