Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 129 for consistent (0.09 seconds)

  1. architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    Doing this provides the following specific benefits:
    - **Reduce the API surface** - We no longer need to maintain two methods.
    - **Consistency** - All languages have consistent access to the same APIs and ergonomics in the DSL.
    - **Reduce the size of the Gradle distribution** - We no longer need to carry multiple standard libraries for different languages.
    
    ## Decision
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  2. architecture/standards/0009-use-american-english.md

    * **Inconsistent API surface**: Public APIs with mixed spelling conventions appear less professional and polished
    * **Harder for non-native speakers**: Contributors and users for whom English is a second language benefit from a single, consistent convention
    
    While both American and British English are valid, establishing a single standard improves consistency, readability, and maintainability of the codebase.
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            assertNotSame(item1.hashCode(), item3.hashCode());
    
            // Consistent hashCode
            assertEquals(item1.hashCode(), item1.hashCode());
        }
    
        @Test
        public void test_hashCode_withNullInput() {
            // Test hashCode with null input - should not throw, returns consistent hash for null
            ProtwordsItem item1 = new ProtwordsItem(1, null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  4. architecture/standards/0008-use-nullaway.md

    it is unlikely that we'll be able to remove `null` entirely.
    
    After migrating to Java 8, we can use pluggable type checkers to ensure that our annotations are consistent, 
    and there are no missing null checks.
    
    ## Decision
    
    Use "NullAway" in JSpecify mode to check for null-related errors in Java code.
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

            // Each call should return a new instance
            assertNotSame(option1, option2);
        }
    
        @Test
        public void test_provideMappingOption_consistency() {
            // Test that multiple calls provide consistent configuration
            JsonMappingOption option1 = provider.provideMappingOption();
            JsonMappingOption option2 = provider.provideMappingOption();
    
            assertEquals(option1.getFieldNaming(), option2.getFieldNaming());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            assertSame(invertibleCryptographer, first);
        }
    
        @Test
        public void test_providePrimaryInvertibleCryptographer_consistency() {
            // Test multiple calls return consistent results
            for (int i = 0; i < 10; i++) {
                InvertibleCryptographer cryptographer = securityResourceProvider.providePrimaryInvertibleCryptographer();
                assertNotNull(cryptographer);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            assertNotSame(item1.hashCode(), item4.hashCode());
        }
    
        @Test
        public void test_hashCode_withNullInput() {
            // Test hashCode with null input - should not throw, returns consistent hash for null
            StopwordsItem item1 = new StopwordsItem(1, null);
            StopwordsItem item2 = new StopwordsItem(2, null);
    
            // Should not throw
            int hash1 = item1.hashCode();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/schema-extra-example.md

    But now that FastAPI 0.99.0 and above uses OpenAPI 3.1.0, that uses JSON Schema 2020-12, and Swagger UI 5.0.0 and above, everything is more consistent and the examples are included in JSON Schema.
    
    ### Swagger UI and OpenAPI-specific `examples` { #swagger-ui-and-openapi-specific-examples }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

        }
    
        @Test
        public void test_hashCode() {
            // Test hashCode consistency
            int metadataHashCode = SsoResponseType.METADATA.hashCode();
            int logoutHashCode = SsoResponseType.LOGOUT.hashCode();
    
            // Hash code should be consistent for the same object
            assertEquals(metadataHashCode, SsoResponseType.METADATA.hashCode());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            String result = crawlerEngineClient.toString();
            assertNotNull(result);
        }
    
        // Test hashCode method
        @Test
        public void test_hashCode() {
            // Test that hashCode returns consistent value
            int hashCode1 = crawlerEngineClient.hashCode();
            int hashCode2 = crawlerEngineClient.hashCode();
            assertEquals(hashCode1, hashCode2);
        }
    
        // Test equals method
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5K bytes
    - Click Count (0)
Back to Top