- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 2,557 for nullif (0.03 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java
* <li>Ensures no null repository entries exist in the list</li> * </ul> * * <p>Duplicate detection is based on the {@code RemoteRepository#equals(Object)} * method, which typically compares repository IDs and URLs. * * @param repositories the list of repositories to validate, may be {@code null} * @return the same list if validation passes, or {@code null} if input was {@code null}
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt
builder.interceptors().addAll(listOf(null) as List<Interceptor>) assertFailsWith<IllegalStateException> { builder.build() }.also { expected -> assertThat(expected.message).isEqualTo("Null interceptor: [null]") } } @Test fun nullNetworkInterceptorInList() { val builder = OkHttpClient.Builder() builder.networkInterceptors().addAll(listOf(null) as List<Interceptor>)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 13.4K bytes - Click Count (1) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
Preconditions.checkNotNull(task, "task must not be null!"); Preconditions.checkNotNull(result, "result must not be null!"); return delegate.submit(task, result); } @Override public ListenableFuture<?> submit(Runnable task) { Preconditions.checkNotNull(task, "task must not be null!"); return delegate.submit(task); } @Override public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:37:28 GMT 2025 - 6.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
Preconditions.checkNotNull(task, "task must not be null!"); Preconditions.checkNotNull(result, "result must not be null!"); return delegate.submit(task, result); } @Override public ListenableFuture<?> submit(Runnable task) { Preconditions.checkNotNull(task, "task must not be null!"); return delegate.submit(task); } @Override public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:37:28 GMT 2025 - 6.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
msg += (version != null ? version : "<version unknown>"); if (rev != null || timestamp != null) { msg += " ("; msg += (rev != null ? rev : ""); if (timestamp != null && !timestamp.isEmpty()) { String ts = formatTimestamp(Long.parseLong(timestamp)); msg += (rev != null ? "; " : "") + ts; } msg += ")";
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 7.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java
* </pre> * * * @param str String to escape values in, may be null * @return String with escaped values, <code>null</code> if null string input */ @SuppressWarnings("checkstyle:MagicNumber") protected static String escapeJava(String str) { if (str == null) { return null; } int sz = str.length();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 09:03:48 GMT 2025 - 38.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
* </pre> * * * @param str String to escape values in, may be null * @return String with escaped values, <code>null</code> if null string input */ @SuppressWarnings("checkstyle:MagicNumber") protected static String escapeJava(String str) { if (str == null) { return null; } int sz = str.length();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 38.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java
@Override public DefaultModelBuildingRequest setPomFile(File pomFile) { this.pomFile = (pomFile != null) ? pomFile.getAbsoluteFile() : null; return this; } @Override public synchronized ModelSource getModelSource() { if (modelSource == null && pomFile != null) { modelSource = new FileModelSource(pomFile); } return modelSource; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 9.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
* expression from properties only. */ if (value != null && type != null && !(value instanceof String) && !isTypeCompatible(type, value)) { value = null; } if (value == null) { // The CLI should win for defining properties if (properties != null) { // We will attempt to get nab a property as a way to specify a parameterCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 16.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
public void testPutIfAbsent_nullKeyUnsupported() { assertThrows(NullPointerException.class, () -> getMap().putIfAbsent(null, v3())); expectUnchanged(); expectNullKeyMissingWhenNullKeysUnsupported( "Should not contain null key after unsupported putIfAbsent(null, value)"); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 4.9K bytes - Click Count (0)