Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 152 for getNull (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                    log.warn("Tree handle was not properly released, performing emergency cleanup: "
                            + (this.resourceLoc != null ? this.resourceLoc.getURL() : "unknown"));
                    emergencyReleaseHandle();
                }
            } catch (Exception e) {
                log.error("Error during tree handle finalization", e);
            } finally {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                        trackingData.add("Configured repositories:");
                        for (RemoteRepository r : repositories) {
                            trackingData.add(" - " + r.getId() + " : " + r.getUrl());
                        }
                    } else {
                        trackingData.add("No repositories configured");
                    }
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 29 08:17:07 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/HandlerTest.java

            // Assert
            assertNotNull(conn);
            assertTrue(conn instanceof SmbFile, "Connection should be an instance of SmbFile");
            SmbFile file = (SmbFile) conn;
            assertEquals(url, file.getURL(), "Returned SmbFile should wrap the given URL");
            assertSame(mockCtx, file.getContext(), "SmbFile must use the provided CIFSContext");
            verify(mockCtx, atLeastOnce()).getConfig(); // interaction with dependency
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. CLAUDE.md

    int count = ds.getCount(sessionId);
    
    // Get by URL
    AccessResult result = ds.getAccessResult(sessionId, url);
    
    // Iterate all
    ds.iterate(sessionId, accessResult -> {
        System.out.println(accessResult.getUrl());
        System.out.println(accessResult.getContent());
    });
    
    // Cleanup
    ds.delete(sessionId);
    ```
    
    ### Resource Cleanup Pattern
    
    ```java
    // Always use try-with-resources for ResponseData
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Fri Nov 28 17:31:34 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/SmbResourceLocator.java

         */
        int getPort();
    
        /**
         * Returns the original URL object used to create this SMB resource.
         *
         * @return the original URL
         */
        URL getURL();
    
        /**
         * Returns the resolved network address of the server hosting this SMB resource.
         *
         * @return resolved server address
         * @throws CIFSException if the address cannot be resolved
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

            item.put("id", artifact.getName() + ":" + artifact.getVersion());
            item.put("name", artifact.getName());
            item.put("version", artifact.getVersion());
            item.put("url", artifact.getUrl());
            return item;
        }
    
        private Artifact getArtifactFromInstallForm(final InstallForm form) {
            final String[] values = form.id.split(":");
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            repositorySession.setLocalRepositoryManager(new SimpleLocalRepositoryManagerFactory()
                    .newInstance(repositorySession, new LocalRepository(repo.getUrl())));
            MavenSession session =
                    new MavenSession(container, repositorySession, request, new DefaultMavenExecutionResult());
            session.setProjects(Collections.emptyList());
            return session;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

         * @throws CrawlingAccessException if there's a conflict during insertion.
         */
        protected IndexResponse insert(final Object target, final OpType opType) {
            final String url = getUrl(target);
            if (url == null) {
                throw new OpenSearchAccessException("url is null.");
            }
            final String id = getId(getSessionId(target), url);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // Create a real URL instead of mocking to avoid protocol issues
            mockUrl = new URL("http://test.example.com/path");
    
            // Basic setup for mocks to avoid NullPointerExceptions
            when(mockConnection.getURL()).thenReturn(mockUrl);
            when(mockConnection.getRequestProperties()).thenReturn(new HashMap<>());
    
            // Mock CIFSContext behavior
            NtlmPasswordAuthentication creds = new NtlmPasswordAuthentication(
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/PluginHelper.java

         * @throws PluginException if installation fails
         */
        protected void install(final Artifact artifact) {
            final String fileName = artifact.getFileName();
            final String url = artifact.getUrl();
            if (StringUtil.isBlank(url)) {
                throw new PluginException("url is blank: " + artifact.getName());
            }
            if (url.startsWith("http:") || url.startsWith("https:")) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 24.9K bytes
    - Click Count (0)
Back to Top