@Test public void isEmpty() throws Exception { String[] fileNames = {null, "", "false", "0", "null", "N/A"}; for (String name : fileNames) { Assert.assertTrue(ConfigUtils.isEmpty(name)); } }
public static boolean isEmpty(String value) { return value == null || value.length() == 0 || "false".equalsIgnoreCase(value) || "0".equalsIgnoreCase(value) || "null".equalsIgnoreCase(value) || "N/A".equalsIgnoreCase(value); }
ConfigUtils { public static boolean isEmpty(String value) { return value == null || value.length() == 0 || "false".equalsIgnoreCase(value) || "0".equalsIgnoreCase(value) || "null".equalsIgnoreCase(value) || "N/A".equalsIgnoreCase(value); } }
ConfigUtils { public static boolean isEmpty(String value) { return value == null || value.length() == 0 || "false".equalsIgnoreCase(value) || "0".equalsIgnoreCase(value) || "null".equalsIgnoreCase(value) || "N/A".equalsIgnoreCase(value); } private  ConfigUtils(); }
ConfigUtils { public static boolean isEmpty(String value) { return value == null || value.length() == 0 || "false".equalsIgnoreCase(value) || "0".equalsIgnoreCase(value) || "null".equalsIgnoreCase(value) || "N/A".equalsIgnoreCase(value); } private  ConfigUtils(); static boolean isNotEmpty(String value); static boolean isEmpty(String value); static int getPid(); }
ConfigUtils { public static boolean isEmpty(String value) { return value == null || value.length() == 0 || "false".equalsIgnoreCase(value) || "0".equalsIgnoreCase(value) || "null".equalsIgnoreCase(value) || "N/A".equalsIgnoreCase(value); } private  ConfigUtils(); static boolean isNotEmpty(String value); static boolean isEmpty(String value); static int getPid();  }