Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for guarantees (0.05 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            // Different statuses likely have different hashCodes (not guaranteed but typical)
            Set<Integer> hashCodes = new HashSet<>();
            hashCodes.add(CrawlerStatus.INITIALIZING.hashCode());
            hashCodes.add(CrawlerStatus.RUNNING.hashCode());
            hashCodes.add(CrawlerStatus.DONE.hashCode());
    
            // While not guaranteed, typically enum hashCodes are different
            assertTrue(hashCodes.size() > 1);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top