- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 5,014 for null (0.06 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
assertTrue("add(null) should return true", collection.add(null)); expectAdded((E) null); } @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES) public void testAdd_nullUnsupported() { assertThrows(NullPointerException.class, () -> collection.add(null)); expectUnchanged(); expectNullMissingWhenNullUnsupported("Should not contain null after unsupported add(null)"); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java
*/ @Nonnull ProjectBuilderResult build(ProjectBuilderRequest request) throws ProjectBuilderException; /** * Creates a {@link org.apache.maven.api.Project} from a POM file. * * @param session the {@link Session}, must not be {@code null} * @param source The {@link Source}, must not be {@code null}Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Nov 16 20:36:20 GMT 2024 - 2.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenUpCling.java
int exitCode = new MavenUpCling().run(args, null, null, null, false); System.exit(exitCode); } /** * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World. */ public static int main(String[] args, ClassWorld world) throws IOException { return new MavenUpCling(world).run(args, null, null, null, false); } /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
assertEquals("first,null,third", result); } @Test @DisplayName("Should handle all null elements") void testJoinWithAllNullElements() { String result = StringUtil.join(",", null, null, null); assertEquals("null,null,null", result); } @Test @DisplayName("Should handle empty string elements") void testJoinWithEmptyStringElements() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt
when { response != null && response.code != 101 -> response.body.string() else -> null } override fun toString(): String = when (response) { null -> "Failure[$t]" else -> "Failure[$response]" } } internal data class Message( val bytes: ByteString? = null, val string: String? = null, ) internal data class Ping(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
.thenReturn(null); // Perform the renewal boolean renewed = wrapper.renewCredentials("locationHint", null); // Verify that NtlmAuthenticator was used but credentials were not updated assertFalse(renewed, "renewCredentials should return false when NtlmAuthenticator returns null");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
if (reporting != null) { reporting.setOutputDirectory(alignToBaseDirectory(reporting.getOutputDirectory(), basedir)); } } @Override public String alignToBaseDirectory(String path, File basedir) { if (basedir == null) { return path; } if (path == null) { return null; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
localRepositoryPath = (localRepository != null) ? new File(localRepository) : null; return this; } @Override public MavenExecutionRequest setSystemProperties(Properties properties) { if (properties != null) { this.systemProperties = SystemProperties.copyProperties(properties); } else { this.systemProperties = null; } return this;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 32.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
})); expectReplacement(entry(getKeyForNullValue(), v3())); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS}) public void testMergeAbsentNullKey() { assertEquals( "Map.merge(null, value, function) should return value", v3(), getMap() .merge( null, v3(),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsElevateWordToLabelBhv.java
doUpdate(entity, null); } public void insertOrUpdate(ElevateWordToLabel entity) { doInsertOrUpdate(entity, null, null); } public void insertOrUpdate(ElevateWordToLabel entity, RequestOptionCall<IndexRequestBuilder> opLambda) { entity.asDocMeta().indexOption(opLambda); doInsertOrUpdate(entity, null, null); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 9.8K bytes - Click Count (0)