@Test public void testIsNull() throws Exception { Assert.assertTrue(Format.isNull("salut").equals("salut") && Format.isNull(null).equals("") && Format.isNull("").equals("")); }
public static String isNull(String txt){ return (txt==null || txt.isEmpty()) ? "" : txt; }
Format { public static String isNull(String txt){ return (txt==null || txt.isEmpty()) ? "" : txt; } }
Format { public static String isNull(String txt){ return (txt==null || txt.isEmpty()) ? "" : txt; }  }
Format { public static String isNull(String txt){ return (txt==null || txt.isEmpty()) ? "" : txt; }  static void initUnit(Context context, TextView textView, long quantitatif, int base, long delay, long dividend, int baseDividend, boolean isFirstAmount, String currencyName); static long convertBase(long value, int base, int newBase); static String minifyPubkey(String pubkey); static String createUri(boolean simple, String uid, String publicKey, String currency); static Map<String, String> parseUri(String uri); static String isNull(String txt); }
Format { public static String isNull(String txt){ return (txt==null || txt.isEmpty()) ? "" : txt; }  static void initUnit(Context context, TextView textView, long quantitatif, int base, long delay, long dividend, int baseDividend, boolean isFirstAmount, String currencyName); static long convertBase(long value, int base, int newBase); static String minifyPubkey(String pubkey); static String createUri(boolean simple, String uid, String publicKey, String currency); static Map<String, String> parseUri(String uri); static String isNull(String txt); static final boolean SIMPLE; static final boolean LONG; }