Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2521 - 2530 of 4,407 for Avoid (0.03 sec)

  1. guava-tests/test/com/google/common/collect/HashMultisetTest.java

            return HashMultiset.create(asList(elements));
          }
        };
      }
    
      public void testCreate() {
        Multiset<String> multiset = HashMultiset.create();
        multiset.add("foo", 2);
        multiset.add("bar");
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
      }
    
      public void testCreateWithSize() {
        Multiset<String> multiset = HashMultiset.create(50);
        multiset.add("foo", 2);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/timer/TimeoutManager.java

         * @return the instance for the singleton
         */
        public static TimeoutManager getInstance() {
            return instance;
        }
    
        /**
         * Starts the process.
         */
        public synchronized void start() {
            if (thread == null) {
                thread = new Thread(this, "CoreLib-TimeoutManager");
                thread.setDaemon(true);
                thread.start();
                if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            versioning.setSnapshot(snapshot);
            return versioning;
        }
    
        @Override
        public void setMetadata(Metadata metadata) {
            this.metadata = metadata;
        }
    
        @Override
        public Metadata getMetadata() {
            return metadata;
        }
    
        @Override
        public void merge(org.apache.maven.repository.legacy.metadata.ArtifactMetadata metadata) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

         */
        @Test
        public void testGetFromStream() throws Exception {
            final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/aaa.html";
            final String contentType = MimeTypeUtil.guessContentType(path);
            assertEquals("text/html", contentType);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFromStream_gif() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/timer/TimeoutTask.java

        /**
         * Cancels the task.
         */
        public void cancel() {
            status = CANCELED;
        }
    
        /**
         * Returns whether the task is stopped.
         *
         * @return whether the task is stopped
         */
        public boolean isStopped() {
            return status == STOPPED;
        }
    
        /**
         * Stops the timer.
         */
        public void stop() {
            if (status != ACTIVE) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/log/exentity/UserInfo.java

        @Override
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        @Override
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
        public void setVersionNo(final Long version) {
            asDocMeta().version(version);
        }
    
        public String getLogMessage() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java

    /**
     */
    class MavenExecutionPlanTest {
    
        @Test
        void testFindLastInPhase() throws Exception {
            MavenExecutionPlan plan = LifecycleExecutionPlanCalculatorStub.getProjectAExecutionPlan();
    
            ExecutionPlanItem expected = plan.findLastInPhase("package");
            assertNotNull(expected);
        }
    
        @Test
        void testThreadSafeMojos() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

        }
    
        @Override
        public synchronized void insert(final StemmerOverrideItem item) {
            try (StemmerOverrideUpdater updater = new StemmerOverrideUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final StemmerOverrideItem item) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. module-tests/src/test/java/okhttp3/modules/test/JavaModuleTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    class JavaModuleTest {
      @Test
      public void testVisibility() {
        // Just check we can run code that depends on OkHttp types
        OkHttpCaller.callOkHttp(HttpUrl.get("https://square.com/robots.txt"));
      }
    
      @Test
      public void testMockWebServer() throws IOException {
        MockWebServer server = new MockWebServer();
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/normalizer/DefaultNormalizerTest.java

            runner.ensureYellow();
    
            suggester = Suggester.builder().build(runner.client(), "SuggesterTest");
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Test
        public void test_normalize() throws Exception {
            Normalizer normalizer = SuggestUtil.createDefaultNormalizer(runner.client(), suggester.settings());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Nov 01 13:29:47 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top