- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 2,833 for Null (0.03 seconds)
-
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) -
impl/maven-core/src/main/java/org/apache/maven/logging/LoggingExecutionListener.java
ProjectBuildLogAppender.setProjectId(null); } @Override public void forkedProjectFailed(ExecutionEvent event) { setMdc(event); delegate.forkedProjectFailed(event); ProjectBuildLogAppender.setProjectId(null); } private void setMdc(ExecutionEvent event) { if (event.getProject() != null) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.5K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/StageTriggers.kt
if (!stage.runsIndependent && prevStage != null) { dependOnPreviousStageTrigger(model, prevStage, os) } snapshotDependencies(dependencies) } }) fun Dependencies.dependOnPreviousStageTrigger( model: CIBuildModel, prevStage: Stage, os: Os? = null, ) {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 12:17:39 GMT 2025 - 7.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
@Test void testVersionlessManagedDependency() throws Exception { File pomFile = new File("src/test/resources/projects/versionless-managed-dependency.xml"); MavenSession mavenSession = createMavenSession(null); ProjectBuildingRequest configuration = new DefaultProjectBuildingRequest(); configuration.setRepositorySession(mavenSession.getRepositorySession());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 17.6K 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) -
android/guava/src/com/google/common/base/Converter.java
* * <p>A converter always converts {@code null} to {@code null} and non-null references to non-null * references. It would not make sense to consider {@code null} and a non-null reference to be * "different representations of the same information", since one is distinguishable from * <i>missing</i> information and the other is not. The {@link #convert} method handles this nullCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jun 18 21:43:06 GMT 2025 - 22.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
int initialSize = collection.size(); assertTrue("remove(null) should return true", collection.remove(null)); assertEquals( "remove(present) should decrease a collection's size by one.", initialSize - 1, collection.size()); expectMissing((E) null); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO)Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Feb 11 21:04:02 GMT 2025 - 5.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
getMap() .computeIfAbsent( null, k -> { assertNull(k); return v3(); })); expectUnchanged(); expectNullKeyMissingWhenNullKeysUnsupported( "Should not contain null key after unsupported computeIfAbsent(null, function)"); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 6.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManager.java
* independently from <code>maven-toolchains-plugin</code>. * * @param session the Maven session, must not be {@code null} * @param type the type, must not be {@code null} * @param requirements the requirements, may be {@code null} * @return the matching toolchains, never {@code null} * @since 3.3.0 */ List<Toolchain> getToolchains(MavenSession session, String type, Map<String, String> requirements);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Feb 12 13:13:28 GMT 2025 - 2.4K bytes - Click Count (0)