- Sort Score
- Num 10 results
- Language All
Results 2951 - 2960 of 4,689 for nulls (0.02 seconds)
-
android/guava/src/com/google/common/collect/Interners.java
@SuppressWarnings("rawtypes") // using raw types to avoid a bug in our nullness checker :( InternalEntry entry = map.getEntry(sample); if (entry != null) { Object canonical = entry.getKey(); if (canonical != null) { // only matters if weak/soft keys are used // The compiler would know this is safe if not for our use of raw types (see above). @SuppressWarnings("unchecked")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EnumHashBiMap.java
import java.util.Map; import org.jspecify.annotations.Nullable; /** * A {@code BiMap} backed by an {@code EnumMap} instance for keys-to-values, and a {@code HashMap} * instance for values-to-keys. Null keys are not permitted, but null values are. An {@code * EnumHashBiMap} and its inverse are both serializable. * * <p>See the Guava User Guide article on <a href=Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/SmbException.java
return new HashMap<>(context); } /** * Gets a specific context value * * @param key the context key * @return the context value or null */ public Object getContextValue(String key) { return context.get(key); } /** * Gets the error timestamp * * @return the timestamp */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
}); } @Test @DisplayName("Test null data handling") public void testNullDataHandling() { assertThrows(CIFSException.class, () -> { compressionService.compress(null, CompressionService.COMPRESSION_LZ77); }); assertThrows(CIFSException.class, () -> { compressionService.decompress(null, CompressionService.COMPRESSION_LZ77); }); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
} } protected void updateRepositoryMetadata(ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws IOException, XMLStreamException { Metadata metadata = null; File metadataFile = new File( localRepository.getBasedir(), localRepository.pathOfLocalRepositoryMetadata(this, remoteRepository)); if (metadataFile.length() == 0) {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) -
compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ParameterUtilTest.java
@Test public void test_loadConfigParams() { Map<String, Object> paramMap; String configParam; // Test with empty map and null config paramMap = new HashMap<>(); ParameterUtil.loadConfigParams(paramMap, null); assertEquals(0, paramMap.size()); // Test with empty map and empty config paramMap = new HashMap<>();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 22.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableListMultimap.java
return fromMapEntries(multimap.asMap().entrySet(), null); } /** * Returns an immutable multimap containing the specified entries. The returned multimap iterates * over keys in the order they were first encountered in the input, and the values for each key * are iterated in the order they were encountered. * * @throws NullPointerException if any key, value, or entry is null * @since 19.0 */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 19.3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt
override fun authenticate( route: Route?, response: Response, ): Request? { if (response.request.header("Authorization") != null) { return null // Give up, we've already attempted to authenticate. } println("Authenticating for response: $response") println("Challenges: ${response.challenges()}")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt
return try { val keyManager = newKeyManager( null, serverCert, serverIntermediateCa.certificate, ) val trustManager = newTrustManager( null, Arrays.asList(serverRootCa.certificate, clientRootCa.certificate), emptyList(), )Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 13K bytes - Click Count (0)