- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 102 for setdefault (0.18 sec)
-
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java
this.evaluator = evaluator; this.listener = listener; } /** * Calls the default "set" method on the bean; re-converts the configuration if necessary. */ public void setDefault(Object bean, Object defaultValue, PlexusConfiguration configuration) throws ComponentConfigurationException { Class<?> beanType = bean.getClass(); // Find the default "set" methodRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 12 14:59:46 UTC 2025 - 12.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
} }); assertEquals(oldName, Thread.currentThread().getName()); } public void testExecutors_nullCheck() throws Exception { new ClassSanityTester() .setDefault(RateLimiter.class, RateLimiter.create(1.0)) .forAllPublicStaticMethods(MoreExecutors.class) .thatReturn(Executor.class) .testNulls(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
} @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.setDefault(double.class, 3.0); tester.testAllPublicStaticMethods(DoubleMath.class); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 14:15:36 UTC 2025 - 27.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
} }); assertEquals(oldName, Thread.currentThread().getName()); } public void testExecutors_nullCheck() throws Exception { new ClassSanityTester() .setDefault(RateLimiter.class, RateLimiter.create(1.0)) .forAllPublicStaticMethods(MoreExecutors.class) .thatReturn(Executor.class) .testNulls(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
assertThat(tester.instantiate(MyAnnotation.class)).isNull(); } public void testInstantiate_setDefault() throws Exception { NotInstantiable x = new NotInstantiable(); tester.setDefault(NotInstantiable.class, x); assertThat(tester.instantiate(ConstructorParameterNotInstantiable.class)).isNotNull(); } public void testSetDistinctValues_equalInstances() { assertThrows(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 36.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
return this.getClass().getSimpleName() + "[" + index + "]"; } } public void testNulls() { ServiceManager manager = new ServiceManager(Arrays.asList()); new NullPointerTester() .setDefault(ServiceManager.Listener.class, new RecordingListener()) .testAllPublicInstanceMethods(manager); } private static final class RecordingListener extends ServiceManager.Listener {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 25.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/DoubleMathTest.java
} @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.setDefault(double.class, 3.0); tester.testAllPublicStaticMethods(DoubleMath.class); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 14:15:36 UTC 2025 - 27.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
return big.bitLength() <= 31; } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.setDefault(int.class, 1); tester.testAllPublicStaticMethods(IntMath.class); } @GwtIncompatible // isPrime is GWT-incompatible public void testIsPrime() { // Defer correctness tests to Long.isPrime
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
proxy = new Proxy(Type.HTTP, addr); if (StringUtil.isNotBlank(getHttpProxyUsername())) { Authenticator.setDefault(new Authenticator() { @Override protected PasswordAuthentication getPasswordAuthentication() {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 88.2K bytes - Viewed (0) -
fastapi/applications.py
] = {} if exception_handlers is None else dict(exception_handlers) self.exception_handlers.setdefault(HTTPException, http_exception_handler) self.exception_handlers.setdefault( RequestValidationError, request_validation_exception_handler ) self.exception_handlers.setdefault( WebSocketRequestValidationError,Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 176.3K bytes - Viewed (0)