Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 289 for convention (1.46 sec)

  1. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

        @Test
        @DisplayName("Test constant naming convention")
        void testConstantNamingConvention() {
            Field[] fields = SecurityInfo.class.getDeclaredFields();
    
            for (Field field : fields) {
                if (field.getType() == int.class) {
                    String name = field.getName();
                    // Check that constant names follow UPPER_SNAKE_CASE convention
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. CLAUDE.md

    ---
    
    ## Code Conventions
    
    ### Java Style
    
    - **Formatter**: Eclipse formatter at `src/config/eclipse/formatter/java.xml`
    - **Indentation**: 4 spaces (no tabs)
    - **Line Length**: 140 characters max
    - **License Headers**: Required (use `mvn license:format`)
    
    ### Naming Conventions
    
    | Type | Convention | Example |
    |------|-----------|---------|
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    4. **Edge Cases**: Null, empty, and boundary conditions are covered
    5. **Resources**: Test resources are properly managed and cleaned up
    
    ## Contributing
    
    When adding new tests:
    1. Follow the existing naming convention: `test_<method>_<scenario>_<expectedResult>`
    2. Add clear JavaDoc comments explaining the test purpose
    3. Ensure tests are independent and can run in any order
    4. Clean up resources in finally blocks or use try-with-resources
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. ADDING_NEW_LANGUAGE.md

    ├── fess_message.properties         # Base English messages (fallback)
    └── fess_message_[locale].properties # Language-specific messages (~200 lines)
    ```
    
    ### Naming Convention
    
    - **Language only**: `fess_label_en.properties`, `fess_label_ja.properties`
    - **Language + Region**: `fess_label_pt_BR.properties`, `fess_label_zh_CN.properties`, `fess_label_zh_TW.properties`
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 11:36:30 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. README.md

    ## ✨ Features
    
    ### Core Utilities
    - **Bean Manipulation** (`org.codelibs.core.beans`) - JavaBeans metadata handling, property access, and object conversion with comprehensive `BeanDesc` system
    - **Type Conversion** (`org.codelibs.core.convert`) - Comprehensive utilities for converting between Java types with null-safe operations and support for all primitive types
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            assertEquals(threadCount * operationsPerThread, successCount.get());
            assertTrue(overallTimeMs < 1000, "Operations should complete quickly without lock contention");
    
            pool.close();
        }
    
        /**
         * Test buffer cache performance with concurrent operations
         */
        @Test
        public void testBufferCachePerformance() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. README.md

    ```
    
    ### Connection Pool Tuning
    
    ```java
    container.singleton("httpClient", HcHttpClient.class, client -> {
        client.setMaxConnections(200);          // Total connections
        client.setMaxConnectionsPerRoute(20);   // Per-host connections
        client.setConnectionTimeout(30000);     // Connection timeout
        client.setSocketTimeout(60000);         // Read timeout
    });
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            @Test
            public void testGetTypeForFile() throws Exception {
                // Mocking underlying connection and info retrieval is complex.
                // This test focuses on the logic based on the URL structure.
                SmbFile file = new SmbFile("smb1://server/share/file.txt");
                // Without a real connection, getType relies on path parsing.
                // getUncPath0() will result in a path > 1, so it should be TYPE_FILESYSTEM
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

        }
    
        /**
         * Creates a new NTLM HTTP URL connection that wraps an existing HTTP connection.
         *
         * @param connection the HTTP connection to wrap for NTLM authentication
         */
        public NtlmHttpURLConnection(final HttpURLConnection connection) {
            super(connection.getURL());
            this.connection = connection;
            requestProperties = new HashMap();
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/http/HandlerTest.java

            URLConnection connection = handler.openConnection(url);
    
            assertNotNull(connection, "Connection should not be null.");
            assertTrue(connection instanceof NtlmHttpURLConnection, "Connection should be an instance of NtlmHttpURLConnection.");
        }
    
        @Test
        void testOpenConnection_UnknownProtocol_ThrowsIOException() {
            // This test verifies that attempting to open a connection for an unsupported protocol
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top