Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for setLocale (0.11 sec)

  1. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        }
    
        public void test_getForumLink() {
            getMockRequest().setLocale(Locale.ENGLISH);
            assertEquals("https://discuss.codelibs.org/c/FessEN/", systemHelper.getForumLink());
            getMockRequest().setLocale(Locale.JAPANESE);
            assertEquals("https://discuss.codelibs.org/c/FessJA/", systemHelper.getForumLink());
            getMockRequest().setLocale(Locale.ITALIAN);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                item.setValue(labelType.getValue());
                item.setPermissions(labelType.getPermissions());
                item.setVirtualHost(labelType.getVirtualHost());
                item.setLocale(labelType.getLocale());
                itemList.add(item);
            }
            labelTypeItemList = itemList;
        }
    
        public List<Map<String, String>> getLabelTypeItemList(final SearchRequestType searchRequestType) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/misc/LocaleUtilTest.java

        /**
         * @throws Exception
         */
        public void testGetLocale() throws Exception {
            assertEquals("1", LocaleUtil.getDefault(), LocaleUtil.getLocale(null));
            assertEquals("2", Locale.JAPANESE, LocaleUtil.getLocale("ja"));
            assertEquals("3", Locale.JAPAN, LocaleUtil.getLocale("ja_JP"));
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

            final FessMessages messages = new FessMessages();
            validationMessagesLambda.message(messages);
            return messageManager.toMessageList(request.getLocale() == null ? Locale.ENGLISH : request.getLocale(), messages).stream()
                    .collect(Collectors.joining(" "));
        }
    
        protected boolean isAccessAllowed() {
            return false;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      public void testRoundIntegralDoubleToInt() {
        for (double d : INTEGRAL_DOUBLE_CANDIDATES) {
          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
            BigDecimal expected = new BigDecimal(d).setScale(0, mode);
            boolean isInBounds =
                expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0
                    & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0;
    
            try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

         */
        public static final ResourceBundle getBundle(final String name, final Locale locale) {
            assertArgumentNotEmpty("name", name);
    
            try {
                return ResourceBundle.getBundle(name, getLocale(locale));
            } catch (final MissingResourceException ignore) {
                return null;
            }
        }
    
        /**
         * バンドルを返します。 見つからない場合は、<code>null</code>を返します。
         *
         * @param name
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/DoubleMathTest.java

      public void testRoundIntegralDoubleToInt() {
        for (double d : INTEGRAL_DOUBLE_CANDIDATES) {
          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
            BigDecimal expected = new BigDecimal(d).setScale(0, mode);
            boolean isInBounds =
                expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0
                    & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0;
    
            try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

            final List<Map<String, String>> labelTypeItems = labelTypeHelper.getLabelTypeItemList(SearchRequestType.SEARCH,
                    request.getLocale() == null ? Locale.ROOT : request.getLocale());
            runtime.registerData("labelTypeItems", labelTypeItems);
            runtime.registerData("displayLabelTypeItems", labelTypeItems != null && !labelTypeItems.isEmpty());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. mvnw.cmd

    if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
    :skipRcPre
    
    @setlocal
    
    set ERROR_CODE=0
    
    @REM To isolate internal variables from possible post scripts, we use another setlocal
    @setlocal
    
    @REM ==== START VALIDATION ====
    if not "%JAVA_HOME%" == "" goto OkJHome
    
    echo. >&2
    echo Error: JAVA_HOME not found in your environment. >&2
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                    RenderDataUtil.register(data, "displayQuery", getDisplayQuery(form, labelTypeHelper
                            .getLabelTypeItemList(SearchRequestType.SEARCH, request.getLocale() == null ? Locale.ROOT : request.getLocale())));
                    createPagingQuery(form);
                    final String[] relatedContents = relatedContentHelper.getRelatedContents(form.getQuery());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top