Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for dispose (0.07 sec)

  1. src/test/java/jcifs/smb/SSPContextTest.java

            public String getNetbiosName() {
                return this.nbName;
            }
    
            @Override
            public void dispose() throws CIFSException {
                if (this.disposed) {
                    throw new CIFSException("already disposed");
                }
                this.disposed = true;
                this.established = false;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/Kerb5ContextTest.java

        }
    
        @Nested
        @DisplayName("Dispose Tests")
        class DisposeTests {
            @Test
            @DisplayName("dispose delegates to GSSContext")
            void dispose_success() throws Exception {
                assertDoesNotThrow(() -> ctx.dispose());
                verify(gssContext, times(1)).dispose();
            }
    
            @Test
            @DisplayName("dispose wraps GSSException into SmbException")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmContext.java

                }
                throw new CIFSException("Invalid MIC");
            }
    
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#dispose()
         */
        @Override
        public void dispose() throws SmbException {
            this.isEstablished = false;
            this.sealClientHandle = null;
            this.sealServerHandle = null;
            this.sealClientKey = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SpnegoContext.java

         */
        @Override
        public String toString() {
            return "SPNEGO[" + this.mechContext + "]";
        }
    
        /**
         *
         */
        @Override
        public void dispose() throws CIFSException {
            this.mechContext.dispose();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/Kerb5Context.java

                return super.toString();
            }
        }
    
        @Override
        public void dispose() throws SmbException {
            if (this.gssContext != null) {
                try {
                    this.gssContext.dispose();
                } catch (GSSException e) {
                    throw new SmbException("Context disposal failed", e);
                }
            }
        }
    
        /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  6. src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java

        public void test_toBeDisposable_validProcess() {
            InvokerAssistant.DisposableProcess process = new InvokerAssistant.DisposableProcess() {
                @Override
                public void dispose() {
                    // Empty implementation for test
                }
            };
            // Should not throw exception
            invokerAssistant.toBeDisposable(process);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    ImageIO.write(thumbnail, fessConfig.getThumbnailHtmlImageFormat(), outputFile);
                    image.flush();
                    return Result.OK;
                } finally {
                    reader.dispose();
                }
            }
            return Result.FAILED;
        }
    
        /**
         * Enumeration representing the possible results of thumbnail image processing.
         */
        protected enum Result {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                        // Convert zip bomb exceptions to TikaExceptions
                        sch.throwIfCauseOf(e);
                        throw e;
                    }
                } finally {
                    tmp.dispose();
                }
            }
        }
    
        /**
         * This interface is for writing a content.
         */
        @FunctionalInterface
        protected interface ContentWriter {
            /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                } finally {
                    latch.countDown();
                    Thread.currentThread().setContextClassLoader(old);
                }
            }
        }
    
        @Override
        public void dispose() {
            if (executor instanceof ExecutorService executorService) {
                executorService.shutdownNow();
            }
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 25K bytes
    - Viewed (0)
  10. apache-maven/src/main/appended-resources/licenses/CDDL+GPLv2-with-classpath-exception.txt

        and/or as part of a Larger Work; and
    
        (b) under Patent Claims infringed by the making, using or selling of
        Original Software, to make, have made, use, practice, sell, and
        offer for sale, and/or otherwise dispose of the Original Software
        (or portions thereof).
    
        (c) The licenses granted in Sections 2.1(a) and (b) are effective on
        the date Initial Developer first distributes or otherwise makes the
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri May 17 19:14:22 UTC 2024
    - 38.5K bytes
    - Viewed (0)
Back to top