- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for matchLocale (0.05 sec)
-
src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java
assertFalse(labelTypeHelper.matchLocale(Locale.ENGLISH, Locale.JAPANESE)); assertFalse(labelTypeHelper.matchLocale(Locale.SIMPLIFIED_CHINESE, Locale.TRADITIONAL_CHINESE)); assertTrue(labelTypeHelper.matchLocale(null, Locale.ROOT)); assertTrue(labelTypeHelper.matchLocale(Locale.ENGLISH, Locale.ROOT)); assertTrue(labelTypeHelper.matchLocale(Locale.ROOT, Locale.ROOT));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java
if (StringUtil.isBlank(virtualHostKey)) { labelList = labelTypeItemList.stream().filter(item -> matchLocale(requestLocale, item.getLocale())).collect(Collectors.toList()); } else { labelList = labelTypeItemList.stream() .filter(item -> matchLocale(requestLocale, item.getLocale()) && virtualHostKey.equals(item.getVirtualHost())) .collect(Collectors.toList());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 11.7K bytes - Viewed (0)