Adds monster meta (size, type, subtype/tag, and alignment) to monster cards.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.majinnaibu.monstercards.helpers;
|
||||
|
||||
@SuppressWarnings({"BooleanMethodIsAlwaysInverted", "RedundantIfStatement"})
|
||||
public final class StringHelper {
|
||||
public static boolean isNullOrEmpty(CharSequence value) {
|
||||
if (value == null) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if ("".contentEquals(value)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user