Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2281 - 2290 of 3,818 for Avoid (0.04 sec)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

    class UrlSourceTest {
    
        @Test
        void testUrlSource() {
            NullPointerException e = assertThrows(
                    NullPointerException.class, () -> new UrlSource(null), "Should fail, since you must specify a url");
            assertEquals("url cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                }
            }
    
            return obj;
        }
    
    
        private void updateLookupTable ( Name name ) {
            synchronized ( this.inFlightLookups ) {
                this.inFlightLookups.remove(name);
                this.inFlightLookups.notifyAll();
            }
        }
    
    
        void cacheAddress ( Name hostName, NbtAddress addr ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

    import java.util.List;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class IndexedIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
            list.add("ccc");
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java

        private Artifact projectArtifact;
    
        @BeforeEach
        @Override
        public void setUp() throws Exception {
            super.setUp();
            projectArtifact = createLocalArtifact("project", "3.0");
        }
    
        @Override
        protected String component() {
            return "resolver";
        }
    
        @Test
        void testMNG4738() throws Exception {
            Artifact g = createLocalArtifact("g", "1.0");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java

     *
     * @deprecated since 4.0.0, use {@link SettingsStaxWriter} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultSettingsWriter implements SettingsWriter {
    
        @Override
        public void write(File output, Map<String, Object> options, Settings settings) throws IOException {
            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(settings, "settings cannot be null");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/KeyMatchService.java

        public OptionalEntity<KeyMatch> getKeyMatch(final String id) {
            return keyMatchBhv.selectByPK(id);
        }
    
        public void store(final KeyMatch keyMatch) {
    
            keyMatchBhv.insertOrUpdate(keyMatch, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void delete(final KeyMatch keyMatch) {
    
            keyMatchBhv.delete(keyMatch, op -> {
                op.setRefreshPolicy(Constants.TRUE);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutDuplicateValuePreservesSize() {
        assertFalse(multimap().put(k0(), v0()));
        assertEquals(getNumElements(), multimap().size());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutDuplicateValue() {
        List<Entry<K, V>> entries = copyToList(multimap().entries());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

      @GwtIncompatible // ConcurrentLinkedQueue
      static class QueuingRemovalListener<K, V> extends ConcurrentLinkedQueue<RemovalNotification<K, V>>
          implements RemovalListener<K, V> {
    
        @Override
        public void onRemoval(RemovalNotification<K, V> notification) {
          add(notification);
        }
      }
    
      /**
       * {@link RemovalListener} that counts each {@link RemovalNotification} it receives, and provides
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/entity/GeoInfoTest.java

     */
    package org.codelibs.fess.entity;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.dbflute.utflute.mocklet.MockletHttpServletRequest;
    
    public class GeoInfoTest extends UnitFessTestCase {
    
        public void test_34_150_10() {
            MockletHttpServletRequest request = getMockRequest();
            request.setParameter("geo.location.point", "34,150");
            request.setParameter("geo.location.distance", "10km");
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/SuggestTests.java

            assertTrue(res.containsKey("query_words_num"));
            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
        void crudTest() {
            testRead();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top