@Test public void findデフォルト値設定テスト() { String actual = Rs.find("2c0cb5e902703e9e30523c1a6ba51d77", "default"); assertNotNull(actual); assertEquals(actual, "default"); actual = Rs.find("", "d"); assertNotNull(actual); assertEquals("", actual); actual = Rs.find(null, "d"); assertNotNull(actual); assertEquals("", actual); String key = "jp.co.ctc_g.jfw.core.resource.RsTest.NO_VALUE"; actual = Rs.find(key, "d"); assertNotNull(actual); assertEquals(actual, key); }
public static String find(String key) { return find(key, (Locale) null); }
Rs { public static String find(String key) { return find(key, (Locale) null); } }
Rs { public static String find(String key) { return find(key, (Locale) null); } private  Rs(); }
Rs { public static String find(String key) { return find(key, (Locale) null); } private  Rs(); static String find(String key); static String find(String key, String defaultValue); static String find(String key, Locale locale); static String find(MessageSourceResolvable context); static String find(MessageSourceResolvable context, Locale locale); }
Rs { public static String find(String key) { return find(key, (Locale) null); } private  Rs(); static String find(String key); static String find(String key, String defaultValue); static String find(String key, Locale locale); static String find(MessageSourceResolvable context); static String find(MessageSourceResolvable context, Locale locale);  }