Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for declared (0.25 sec)

  1. src/main/java/org/codelibs/core/lang/MethodUtil.java

                    && method.getParameterTypes().length == 0;
        }
    
        /**
         * Returns the element type of the parameterized collection declared as the method's argument type.
         *
         * @param method
         *            The method. Cannot be {@literal null}
         * @param position
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbResourceTest.java

                assertEquals(1, existsExceptions.length, "exists() should declare CIFSException");
                assertEquals(CIFSException.class, existsExceptions[0], "Should declare CIFSException");
                assertEquals(1, getTypeExceptions.length, "getType() should declare CIFSException");
                assertEquals(CIFSException.class, getTypeExceptions[0], "Should declare CIFSException");
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

        public void testMethodOverrides() throws NoSuchMethodException {
            // Given
            Class<?> clazz = SmbComTreeDisconnect.class;
    
            // When & Then - verify methods are declared in this class (overridden)
            Method writeParameterWords = clazz.getDeclaredMethod("writeParameterWordsWireFormat", byte[].class, int.class);
            assertNotNull(writeParameterWords);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/ClassUtil.java

            } catch (final NoSuchFieldException e) {
                throw new NoSuchFieldRuntimeException(clazz, name, e);
            }
        }
    
        /**
         * Returns a {@link Field} object that reflects the specified declared field of the class or interface represented by the {@link Class} object.
         *
         * @param clazz
         *            The {@link Class} object representing the class. Must not be {@literal null}.
         * @param name
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        }
    
        /**
         * Test all fields are public and accessible
         */
        @Test
        @DisplayName("Test all fields are public")
        public void testAllFieldsArePublic() {
            // Get all declared fields
            Field[] fields = ServerData.class.getDeclaredFields();
    
            // Verify we have the expected number of fields
            assertEquals(19, fields.length);
    
            // Verify all fields are public
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

            assertTrue(elapsed + " should be much less than " + (waittime * numTasks), elapsed < waittime * numTasks / 2);
        }
    
        /**
         * Test that file:// URLs are not delayed
         */
        public void test_fileUrl_noDelay() {
            final HostIntervalController controller = new HostIntervalController();
            controller.delayMillisBeforeProcessing = 1000L;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

                assertNotNull(e.getCause());
                assertTrue(e.getCause() instanceof IllegalArgumentException);
            }
        }
    
        /**
         * Test exception in method that declares throws
         */
        public void test_exceptionInMethod() {
            try {
                methodThatThrowsException();
                fail("Should have thrown CrawlerSystemException");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            /** Number of in-flight fetch operations */
            public int numberOfInFlightFetch;
            /** Number of pending tasks */
            public int numberOfPendingTasks;
            /** Number of delayed unassigned shards */
            public int delayedUnassignedShards;
            /** Number of unassigned shards */
            public int unassignedShards;
            /** Number of initializing shards */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. docs/smb3-features/06-witness-protocol-design.md

    ```
    
    ### 8.2 Network Partition Handling
    ```java
    public class WitnessNetworkPartitionHandler {
        public void handleNetworkPartition() {
            log.warn("Network partition detected - witness notifications may be delayed");
            
            // Switch to more aggressive connection retry
            // Increase heartbeat frequency
            // Consider fallback mechanisms
        }
        
        public void handlePartitionRecovery() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
Back to top