- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for dispose (0.2 sec)
-
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt
data class ParsedKotlinFiles( val ktFiles: List<KtFile>, private val disposable: Disposable ) : AutoCloseable { override fun close() { Disposer.dispose(disposable) } } private val messageCollector: MessageCollector get() = PrintingMessageCollector(System.out, MessageRenderer.PLAIN_RELATIVE_PATHS, false)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Oct 15 13:02:35 UTC 2024 - 3.9K bytes - Viewed (0) -
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"));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.3K bytes - Viewed (0) -
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))); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DisposableUtil.java
disposables.remove(disposable); } /** * 登録済みのリソースを全て破棄します。 */ public static synchronized void dispose() { while (!disposables.isEmpty()) { final Disposable disposable = disposables.removeLast(); try { disposable.dispose(); } catch (final Throwable t) { t.printStackTrace(); // must not use Logger. } }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.1K bytes - Viewed (0) -
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} */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SSPContext.java
/** * @return the name of the remote endpoint */ String getNetbiosName (); /** * @throws CIFSException */ void dispose () throws CIFSException; /** * @param mechanism * @return whether the specified mechanism is supported */ boolean isSupported ( ASN1ObjectIdentifier mechanism ); /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java
} @Override public Lookup getLookup() { return lookup; } @Override public void close() { try { plexusContainer.dispose(); } finally { Thread.currentThread().setContextClassLoader(previousClassLoader); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Disposable.java
* {@link DisposableUtil}に登録します。 * </p> * * @author koichik */ public interface Disposable { /** * このオブジェクトが保持しているリソースを破棄します。 * */ void dispose();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.1K bytes - Viewed (0) -
android/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;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.7K bytes - Viewed (0) -
android/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; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6K bytes - Viewed (0)