- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 57 for _clear (0.05 seconds)
-
src/main/java/org/codelibs/fess/entity/ChatSession.java
return messages != null ? messages.size() : 0; } } /** * Clears all messages in this session and updates the last accessed timestamp. */ public void clearMessages() { synchronized (messagesLock) { if (messages != null) { messages.clear(); } } this.lastAccessedAt = LocalDateTime.now(); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 01:53:06 GMT 2026 - 6.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
// Test with null regex cmdList.clear(); execJob.testAddFessCustomSystemProperties(cmdList, null); assertEquals(0, cmdList.size()); // Test with empty regex cmdList.clear(); execJob.testAddFessCustomSystemProperties(cmdList, ""); assertEquals(0, cmdList.size()); // Clean up System.clearProperty("custom.prop.one");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatSessionManager.java
if (logger.isDebugEnabled()) { logger.debug("Cannot clear session, not found. sessionId={}", sessionId); } return false; } // Verify ownership final String sessionUserId = session.getUserId(); if (userId != null && !userId.equals(sessionUserId)) { logger.warn("Cannot clear session, userId mismatch. sessionId={}, requestUserId={}", sessionId, userId);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 13:27:59 GMT 2026 - 13.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/chat/ChatAction.java
}); } /** * Clears the chat session. * * @param form the chat form containing the session ID to clear * @return the HTML response redirecting to the chat page */ @Execute public HtmlResponse clear(final ChatForm form) { if (form.sessionId != null) { if (logger.isDebugEnabled()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue Mar 10 14:54:51 GMT 2026 - 4.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
@Override protected boolean isUseOneTimeContainer() { return true; } @Test public void test_maxUsernameLength() throws IOException { FessProp.propMap.clear(); FessConfig fessConfig = new FessConfig.SimpleImpl() { @Override public Integer getLdapMaxUsernameLengthAsInteger() { return Integer.valueOf(-1); } };Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 25.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
} @Override protected void storeQueue(List<Tuple3<String, String, String>> taskList) { // Override to avoid database operations taskList.clear(); } @Override protected String getImageFilename(final Map<String, Object> docMap) { // Override to avoid null pointer issuesCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 20.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
@Test public void test_doCrawl_withErrors() { // Clear any previous errors try { Field errorsField = Crawler.class.getDeclaredField("errors"); errorsField.setAccessible(true); Queue<String> errors = (Queue<String>) errorsField.get(null); errors.clear(); } catch (Exception e) { // Ignore if field doesn't exist }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 30.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/IntentDetectionResult.java
} /** * Creates an unclear intent result when intent cannot be determined. * * @param reasoning the detection reasoning * @return the unclear intent result */ public static IntentDetectionResult unclear(final String reasoning) { return new IntentDetectionResult(ChatIntent.UNCLEAR, null, null, reasoning); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 13:27:59 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
assertEquals(0, indexingHelper.deleteOldDocuments(client, docList)); assertEquals(0, docList.size()); assertEquals(0, deletedDocIdList.size()); docList.clear(); deletedDocIdList.clear(); docList.add(new HashMap<>(Map.of(// "config_id", "W01", // "doc_id", "1", // "url", "http://test.com/001"// )));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 29.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/ChatIntentTest.java
assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue("unclear")); assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue("UNCLEAR")); assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue("Unclear")); } @Test public void test_fromValue_null() { // Defaults to UNCLEAR when value is null assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue(null)); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 01 08:11:18 GMT 2026 - 3.8K bytes - Click Count (0)