Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for removePathMappingList (0.1 sec)

  1. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                if (pathMappingList != null) {
                    pathMappingMap.put(sessionId, pathMappingList);
                } else {
                    removePathMappingList(sessionId);
                }
            }
        }
    
        public void removePathMappingList(final String sessionId) {
            pathMappingMap.remove(sessionId);
        }
    
        public List<PathMapping> getPathMappingList(final String sessionId) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            assertNotNull(pathMappingHelper.getPathMappingList(sessionId));
            assertNull(pathMappingHelper.getPathMappingList(sessionId + "1"));
            pathMappingHelper.removePathMappingList(sessionId);
            assertNull(pathMappingHelper.getPathMappingList(sessionId));
            assertNull(pathMappingHelper.getPathMappingList(sessionId + "1"));
    
        }
    
        public void test_replaceUrl() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/Crawler.java

            } catch (final Throwable t) {
                logger.warn("An exception occurs on the crawl task.", t);
                return Constants.EXIT_FAIL;
            } finally {
                pathMappingHelper.removePathMappingList(options.sessionId);
                crawlingInfoHelper.putToInfoMap(Constants.CRAWLER_STATUS, errors.isEmpty() ? Constants.T.toString() : Constants.F.toString());
                if (!errors.isEmpty()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top