Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for dispoem (2.18 sec)

  1. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

         */
        @Before
        public void setUp() throws Exception {
            DisposableUtil.dispose();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test1() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
            assertThat(DisposableUtil.disposables.size(), is(1));
            DisposableUtil.dispose();
            assertThat(count, is(1));
            assertThat(names, is("a"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

         */
        @Test
        public void testDispose() throws Exception {
            DisposableUtil.dispose();
            assertThat(MessageFormatter.initialized, is(not(true)));
    
            MessageFormatter.getMessage("EMSG0000");
            assertThat(MessageFormatter.initialized, is(true));
    
            DisposableUtil.dispose();
            assertThat(MessageFormatter.initialized, is(not(true)));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java

        void flush();
    
        /**
         * Registers the specified cache record for usage with the given project. Integrators can use the information
         * collected from this method in combination with a custom cache implementation to dispose unused records from the
         * cache.
         *
         * @param project The project that employs the plugin realm, must not be {@code null}.
         * @param record The cache record being used for the project, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

      // TODO: replace this with an accessor.
      protected Collection<E> collection;
    
      @Override
      protected Collection<E> actualContents() {
        return collection;
      }
    
      // TODO: dispose of this once collection is encapsulated.
      @Override
      @CanIgnoreReturnValue
      protected Collection<E> resetContainer(Collection<E> newContents) {
        collection = super.resetContainer(newContents);
        return collection;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

     * 指定されたJavaBeansのメタデータを扱う{@link BeanDesc}を返します。
     * </p>
     *
     * <pre>
     * BeanDesc beanDesc = BeanDescFactory.getBeanDesc(Foo.class);
     * </pre>
     * <p>
     * {@link BeanDesc}はキャッシュされます。 キャッシュをクリアするには{@link DisposableUtil#dispose()}
     * を呼び出してください。
     * </p>
     *
     * @author higa
     * @see BeanDesc
     * @see DisposableUtil
     */
    public abstract class BeanDescFactory {
    
        /** 初期化済みなら{@literal true} */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

                getSubjectGenerator().getInnerGenerator())
            .sampleValues();
      }
    
      @Override
      protected Collection<Entry<K, V>> actualContents() {
        return multimap.entries();
      }
    
      // TODO: dispose of this once collection is encapsulated.
      @Override
      @CanIgnoreReturnValue
      protected M resetContainer(M newContents) {
        multimap = super.resetContainer(newContents);
        return multimap;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 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;
        }
    
        protected enum Result {
            OK, FAILED, INVALID_SIZE, NO_IMAGE;
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  8. 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) executor).shutdownNow();
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/misc/Disposable.java

     * {@link DisposableUtil}に登録します。
     * </p>
     *
     * @author koichik
     */
    public interface Disposable {
    
        /**
         * このオブジェクトが保持しているリソースを破棄します。
         *
         */
        void dispose();
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/ExtensionRealmCache.java

        void flush();
    
        /**
         * Registers the specified cache record for usage with the given project. Integrators can use the information
         * collected from this method in combination with a custom cache implementation to dispose unused records from the
         * cache.
         *
         * @param project The project that employs the plugin realm, must not be {@code null}.
         * @param record The cache record being used for the project, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.9K bytes
    - Viewed (0)
Back to top