Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 390 for dangling (0.05 sec)

  1. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            } catch (Exception e) {
                fail("setObject should handle different object types: " + e.getMessage());
            }
        }
    
        public void test_error_handling_edge_cases() {
            // Test error handling with edge cases
            try {
                // Test with extreme status codes
                WebApiUtil.setError(-1, "Negative status code");
                WebApiUtil.setError(0, "Zero status code");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/bigger-applications.md

    │       ├── __init__.py  # makes "internal" a "Python subpackage"
    │       └── admin.py     # "admin" submodule, e.g. import app.internal.admin
    ```
    
    ## `APIRouter` { #apirouter }
    
    Let's say the file dedicated to handling just users is the submodule at `/app/routers/users.py`.
    
    You want to have the *path operations* related to your users separated from the rest of the code, to keep it organized.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/jar/JarFileUtil.java

    import org.codelibs.core.io.FileUtil;
    import org.codelibs.core.log.Logger;
    import org.codelibs.core.net.JarURLConnectionUtil;
    import org.codelibs.core.net.URLUtil;
    
    /**
     * Utility class for handling {@link java.util.jar.JarFile}.
     *
     * @author higa
     */
    public abstract class JarFileUtil {
    
        /**
         * Do not instantiate.
         */
        protected JarFileUtil() {
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. docs/es/docs/how-to/custom-request-and-route.md

    /// tip | Consejo
    
    Para resolver este mismo problema, probablemente sea mucho más fácil usar el `body` en un manejador personalizado para `RequestValidationError` ([Manejo de Errores](../tutorial/handling-errors.md#use-the-requestvalidationerror-body){.internal-link target=_blank}).
    
    Pero este ejemplo sigue siendo válido y muestra cómo interactuar con los componentes internos.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertEquals(newState, entry.getLeaseState());
            assertEquals(initialEpoch + 1, entry.getEpoch());
            assertFalse(entry.isBreaking()); // Should be false after break handling completes
        }
    
        @Test
        @DisplayName("Should release lease")
        void testReleaseLease() {
            String path = "/share/file.txt";
            int requestedState = Smb2LeaseState.SMB2_LEASE_READ_HANDLE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            // Act + Assert
            assertThrows(NullPointerException.class, () -> SmbCopyUtil.openCopyTargetFile(dest, SmbConstants.ATTR_NORMAL, false));
        }
    
        // --- Tests for copyFile exception handling branch ---
    
        @Nested
        class CopyFileExceptions {
    
            private SmbTreeHandleImpl newTreeHandle(boolean isSmb2) throws Exception {
                SmbTreeHandleImpl th = mock(SmbTreeHandleImpl.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/context/SingletonContextTest.java

            assertNotNull(context);
            assertEquals("CustomOS", context.getConfig().getNativeOs());
        }
    
        @Test
        void testInitIOExceptionHandling(@TempDir Path tempDir) {
            // Test handling IOException when loading jcifs.properties
            Path nonExistentPath = tempDir.resolve("nonexistent.properties");
            System.setProperty("jcifs.properties", nonExistentPath.toString());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/BeanDesc.java

    package org.codelibs.core.beans;
    
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import java.util.Map;
    
    import org.codelibs.core.beans.factory.BeanDescFactory;
    
    /**
     * Interface for handling JavaBeans metadata.
     * <p>
     * Instances of {@link BeanDesc} are obtained from {@link BeanDescFactory}.
     * </p>
     *
     * <pre>
     * BeanDesc beanDesc = BeanDescFactory.getBeanDesc(Foo.class);
     * </pre>
     * <p>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. .github/DISCUSSION_TEMPLATE/questions.yml

            I end up not being able to add new features, fix bugs, review pull requests, etc. as fast as I wish because I have to spend too much time handling questions.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Aug 03 15:59:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            // Test null input handling
            try {
                KuromojiCSVUtil.quoteEscape(null);
                fail("Should throw NullPointerException for null input");
            } catch (NullPointerException e) {
                // Expected behavior
            }
        }
    
        public void test_parse_null_input() {
            // Test null input handling
            try {
                KuromojiCSVUtil.parse(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top