Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2751 - 2760 of 2,976 for throw (0.02 sec)

  1. guava-tests/test/com/google/common/html/HtmlEscapersTest.java

    /**
     * Tests for the {@link HtmlEscapers} class.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    @NullUnmarked
    public class HtmlEscapersTest extends TestCase {
    
      public void testHtmlEscaper() throws Exception {
        assertEquals("xxx", htmlEscaper().escape("xxx"));
        assertEquals(""test"", htmlEscaper().escape("\"test\""));
        assertEquals("'test'", htmlEscaper().escape("\'test'"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Handler.java

         */
        public Handler() {
        }
    
        @Override
        protected int getDefaultPort() {
            return SmbConstants.DEFAULT_PORT;
        }
    
        @Override
        public URLConnection openConnection(final URL u) throws IOException {
            return new SmbFile(u);
        }
    
        @Override
        protected void parseURL(final URL u, String spec, final int start, int limit) {
            final String host = u.getHost();
            String path, ref;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbTransportTest.java

            verify(smbTransport).unwrap(SmbTransport.class); // Verify that the method was called
        }
    
        @Test
        void testClose() throws Exception {
            // Act
            smbTransport.close();
    
            // Assert
            verify(smbTransport).close(); // Verify that the close method was called
        }
    
        @Test
        void testGetRemoteAddress() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java

     */
    @Experimental
    @Consumer
    public interface TransportProvider extends Service {
        /**
         * Provides new {@link Transport} instance for given {@link RemoteRepository}, if possible.
         *
         * @throws TransportProviderException if passed in remote repository has invalid remote URL or unsupported protocol.
         */
        @Nonnull
        Transport transport(@Nonnull Session session, @Nonnull RemoteRepository repository);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

         */
        public UrlSource(URL url) {
            this.url = Objects.requireNonNull(url, "url cannot be null");
            this.hashCode = Objects.hashCode(url);
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return url.openStream();
        }
    
        @Override
        public String getLocation() {
            return url.toString();
        }
    
        /**
         * Gets the URL of this source.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/DataServiceImplTest.java

    /**
     * @author shinsuke
     *
     */
    public class DataServiceImplTest extends PlainTestCase {
        public DataService dataService;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("dataHelper", MemoryDataHelper.class)//
                    .singleton("dataService", DataServiceImpl.class);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/DosFileFilter.java

         * support filtering by all attributes (e.g. even though ATTR_DIRECTORY was
         * specified the server may still return objects that are not directories).
         */
        @Override
        public boolean accept(final SmbFile file) throws SmbException {
            return (file.getAttributes() & attributes) != 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java

         * Creates a new {@link DependencyCoordinates} object from the request.
         *
         * @param request the request containing the various data
         * @return a new {@link DependencyCoordinates} object
         *
         * @throws IllegalArgumentException if {@code request} is null or
         *         if {@code request.getSession()} is null or invalid
         */
        @Nonnull
        DependencyCoordinates create(@Nonnull DependencyCoordinatesFactoryRequest request);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlerSystemException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.exception;
    
    /**
     * The class CrawlerSystemException is a runtime exception that is thrown when a system error occurs during crawling.
     * It extends the RuntimeException class and provides constructors for creating exceptions with a message, a cause, or both.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

            controller.delayMillisForWaitingNewUrl = 0L;
            controller.delayMillisAtNoUrlInQueue = 0L;
    
            final Callable<Integer> testCallable = new Callable<Integer>() {
                public Integer call() throws Exception {
                    CrawlingParameterUtil.setUrlQueue(q);
                    controller.delayBeforeProcessing();
                    return 0;
                }
            };
    
            // Callableタスクを複数生成
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top