Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 182 for endswith (0.08 sec)

  1. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            }
            if (lineNum == 0 || list.isEmpty()) {
                return "<pre class=\"" + style + "\">" + input + "</pre>";
            }
            int lastIndex = list.size();
            if (list.get(list.size() - 1).endsWith("...")) {
                lastIndex--;
            }
            if (lastIndex <= 0) {
                lastIndex = 1;
            }
            final String content = list.subList(0, lastIndex).stream().collect(Collectors.joining("\n"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  2. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

         * @param name the filename to check
         * @return true if the file is a log file (.log or .log.gz), false otherwise
         */
        protected boolean isLogFilename(final String name) {
            return name.endsWith(".log") || name.endsWith(".log.gz");
        }
    
        /**
         * Starts a reindex operation with the specified parameters.
         *
         * @param replaceAliases whether to replace aliases after reindexing
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                    assertTrue(name.matches("[A-Z_]+"), "Constant " + name + " should follow UPPER_SNAKE_CASE convention");
                    // Check that all constants end with _SECURITY_INFO
                    assertTrue(name.endsWith("_SECURITY_INFO"), "Constant " + name + " should end with _SECURITY_INFO");
                }
            }
        }
    
        @Test
        @DisplayName("Test SecurityInfo interface is public")
        void testInterfaceIsPublic() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                assertEquals(Constants.GET_METHOD, responseData.getMethod());
                assertEquals("text/plain", responseData.getMimeType());
                assertTrue(responseData.getUrl().endsWith("text1.txt"));
                final String content = new String(InputStreamUtil.getBytes(responseData.getResponseBody()), "UTF-8");
                assertEquals("test1", content.trim());
            } finally {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

            if (!query.startsWith("*")) {
                queryBuf.append('*');
            }
            queryBuf.append(toLowercaseWildcard(query));
            if (!query.endsWith("*")) {
                queryBuf.append('*');
            }
            final String origQuery = queryBuf.toString();
            context.addFieldLog(Constants.DEFAULT_FIELD, origQuery);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

                    assertTrue("Field value should start with {labels.: " + field.getName() + " = " + value, value.startsWith("{labels."));
                    assertTrue("Field value should end with }: " + field.getName() + " = " + value, value.endsWith("}"));
                }
            }
        }
    
        /**
         * Test that all label constants have unique values
         */
        public void test_labelConstantsUniqueness() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            this.artifactId = artifactId;
        }
    
        @Override
        public boolean isSnapshot() {
            return getBaseVersion() != null
                    && (getBaseVersion().endsWith(SNAPSHOT_VERSION)
                            || getBaseVersion().equals(LATEST_VERSION));
        }
    
        @Override
        public void setResolved(boolean resolved) {
            this.resolved = resolved;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

            }
    
            final String userAgent = getUserAgent();
            if (!StringUtil.isNotBlank(userAgent) || (userAgent.startsWith(Constants.CRAWLING_USER_AGENT_PREFIX)
                    && userAgent.endsWith(Constants.CRAWLING_USER_AGENT_SUFFIX))) {
                paramMap.put(Client.USER_AGENT, fessConfig.getUserAgentName());
            } else {
                paramMap.put(Client.USER_AGENT, userAgent);
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/util/StringUtilTest.java

            String result = StringUtil.join(",", longString1, longString2);
            assertEquals(2001, result.length()); // 1000 + 1 + 1000
            assertTrue(result.startsWith("aaa"));
            assertTrue(result.endsWith("bbb"));
            assertTrue(result.contains(","));
        }
    
        @Test
        @DisplayName("Should handle long delimiter")
        void testJoinWithLongDelimiter() {
            String longDelimiter = "=".repeat(100);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

                if (webConfigPager.description.startsWith("*")) {
                    cb.query().setDescription_Wildcard(webConfigPager.description);
                } else if (webConfigPager.description.endsWith("*")) {
                    cb.query().setDescription_Prefix(webConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY));
                } else {
                    cb.query().setDescription_MatchPhrase(webConfigPager.description);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top