- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 2,533 for nullif (0.03 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java
// The old broken implementation would have done: // var plugin = getBuild().getDelegate().getPluginsAsMap().get(pluginKey); // return plugin != null ? new Plugin(plugin) : null; // This would create a disconnected Plugin that doesn't persist changes. // The new fixed implementation does: // Find the plugin in the connected plugins listCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jul 04 12:50:13 GMT 2025 - 5K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt
dependenciesToModify: MutableMap<String, MutableList<String>> ) { var currentFilePath: String? = null errorLogFile.useLines { lines -> lines.withIndex().forEach { (index, line) -> val fileMatch = Regex("""> (.+?)/build.gradle.kts""").find(line) if (fileMatch != null) { currentFilePath = fileMatch.groupValues[1] + "/build.gradle.kts" }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Mar 03 06:57:08 GMT 2025 - 6.2K bytes - Click Count (1) -
okhttp/src/jvmTest/java/okhttp3/CallJavaTest.java
.build(); Call call = client.newCall(request); assertEquals(5, call.tag(Integer.class)); assertEquals("hello", call.tag(String.class)); assertEquals(null, call.tag(Boolean.class)); assertEquals(null, call.tag(Object.class)); } @Test public void tagsCanBeComputed() { Request request = new Request.Builder() .url(HttpUrl.get("https://square.com/")) .build();
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Oct 26 14:54:46 GMT 2025 - 1.7K bytes - Click Count (0) -
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Nonnull.java
import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * The annotated element must not be null. * <p> * Annotated fields must not be null after construction has completed. * <p> * When this annotation is applied to a method it applies to the method return value. * * @see Nullable * @since 4.0.0 */ @Experimental
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 10 21:43:27 GMT 2024 - 1.4K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuilder.java
/** * Builds the effective settings of the specified settings files. * * @param request The settings building request that holds the parameters, must not be {@code null}. * @return The result of the settings building, never {@code null}. * @throws SettingsBuildingException If the effective settings could not be built. */ SettingsBuildingResult build(SettingsBuildingRequest request) throws SettingsBuildingException;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
@TempDir File testDir ViolationCheckContext context = new ViolationCheckContext() { Map userData = [seenApiChanges: [] as Set] String getClassName() { return null } Map<String, ?> getUserData() { return userData } Object getUserData(String key) { return userData[key] } void putUserData(String key, Object value) {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Sep 21 06:26:07 GMT 2025 - 2.4K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingRequest.java
* * @return The global toolchains source or {@code null} if none. */ Source getGlobalToolchainsSource(); /** * Sets the global toolchains source. If both user toolchains and a global toolchains are given, the user toolchains * take precedence. * * @param globalToolchainsSource The global toolchains source, may be {@code null} to disable global toolchains.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 05 09:37:42 GMT 2025 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractSequentialIterator.java
* whose next element can always be derived from the previous element. Null elements are not * supported, nor is the {@link #remove()} method. * * <p>Example: * * {@snippet : * Iterator<Integer> powersOfTwo = * new AbstractSequentialIterator<Integer>(1) { * protected Integer computeNext(Integer previous) { * return (previous == 1 << 30) ? null : previous * 2; * } * }; * } *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractTableTest.java
assertThrows(NullPointerException.class, () -> table.put(null, 2, cellValue('d'))); assertThrows(NullPointerException.class, () -> table.put("cat", null, cellValue('d'))); if (supportsNullValues()) { assertThat(table.put("cat", 2, null)).isNull(); assertTrue(table.contains("cat", 2)); } else { assertThrows(NullPointerException.class, () -> table.put("cat", 2, null)); } assertSize(3); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6K bytes - Click Count (0)