- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 248 for ULocale (0.1 seconds)
-
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
/** * Retrieves the current user's locale from the request manager. * * @return the user's locale, or Locale.ROOT if not available */ private static Locale getUserLocale() { final Locale locale = ComponentUtil.getRequestManager().getUserLocale(); if (locale == null) { return Locale.ROOT; } return locale; } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 25.4K bytes - Click Count (1) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
.toLowerCase(Locale.ENGLISH); String actualOsArch = context.getSystemProperties() .getOrDefault("os.arch", Os.OS_ARCH) .toLowerCase(Locale.ENGLISH); String actualOsVersion = context.getSystemProperties() .getOrDefault("os.version", Os.OS_VERSION) .toLowerCase(Locale.ENGLISH); if (active && os.getFamily() != null) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java
import static org.junit.Assert.assertThat; import java.util.Locale; import org.codelibs.core.misc.LocaleUtil; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * @author wyukawa * */ public class NullArgumentExceptionTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @AfterCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java
class RemoteSnapshotMetadataTest { private Locale defaultLocale; private static final Pattern DATE_FILTER = Pattern.compile("\\..*"); @BeforeEach void setLocaleToUseBuddhistCalendar() { defaultLocale = Locale.getDefault(); Locale.setDefault(new Locale("th", "TH")); } @AfterEach void restoreLocale() { Locale.setDefault(defaultLocale); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.5K bytes - Click Count (0) -
tests/multi_primary_keys_test.go
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:27:38 GMT 2026 - 13.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProvider.java
} catch (final Exception e) { logger.debug("Failed to parse locale: name={}", name, e); } } return OptionalObject.empty(); } @Override public OptionalThing<Locale> getRequestedLocale(final RequestManager requestManager) { return OptionalObject.empty(); // means browser default }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2.9K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/StringExtensions.kt
* limitations under the License. */ package gradlebuild.basics import java.util.Locale fun String.capitalize(): String = replaceFirstChar { it.uppercase(Locale.US) } fun String.decapitalize(): String =
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sun Dec 15 07:49:41 GMT 2024 - 839 bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
} @Test void testLocaleIndependent() { Locale orig = Locale.getDefault(); Locale[] locales = {Locale.ENGLISH, new Locale("tr"), Locale.getDefault()}; try { for (Locale locale : locales) { Locale.setDefault(locale); checkVersionsEqual("1-abcdefghijklmnopqrstuvwxyz", "1-ABCDEFGHIJKLMNOPQRSTUVWXYZ"); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 17.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingInfoParam.java
}); } return crawlingInfo; } public String getKeyMsg() { final Locale locale = ComponentUtil.getRequestManager().getUserLocale(); final String message = ComponentUtil.getMessageManager().getMessage(locale, "labels.crawling_info_" + getKey()); if (message == null || message.startsWith("???")) { return getKey(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreator.java
// ============= protected String resolveLabelIfNeeds(final MessageManager messageManager, final Locale locale, final String label) { return label.startsWith("labels.") ? messageManager.getMessage(locale, label) : label; } // ===================================================================================Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7K bytes - Click Count (0)