- Sort Score
- Num 10 results
- Language All
Results 2931 - 2940 of 4,689 for nulls (0.09 seconds)
-
guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
} @Override public Iterator<E> iterator() { if (iterator == null) { // TODO: throw something else? Do we worry that people's code and tests // might be relying on this particular type of exception? throw new IllegalStateException(); } try { return iterator; } finally { iterator = null; } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java
} private ArtifactRepository injectSession(ArtifactRepository repository, boolean mirrors) { RepositorySystemSession session = legacySupport.getRepositorySession(); if (session != null && repository != null && !isLocalRepository(repository)) { List<ArtifactRepository> repositories = Arrays.asList(repository); RepositorySystem repositorySystem; try {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java
} } /** * Gets the appropriate web API manager for the given request. * * @param request The HTTP servlet request * @return The matching web API manager, or null if no match found */ public WebApiManager get(final HttpServletRequest request) { final String servletPath = request.getServletPath(); if (logger.isDebugEnabled()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 12 10:32:40 GMT 2026 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/RenderDataUtil.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.6K bytes - Click Count (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt
override fun afterTest(test: TestDescriptor, result: TestResult) = Unit override fun beforeSuite(suite: TestDescriptor) { if (suite.parent == null) { forEachJavaProcess { pid, _ -> // processes that exist before the test suite execution should // not trigger a warning
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 3.4K bytes - Click Count (0) -
okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt
import okhttp3.curl.Main import okhttp3.internal.http.StatusLine import okio.sink internal fun Main.commonCreateRequest(): Request { val request = Request.Builder() val requestMethod = method ?: if (data != null) "POST" else "GET" val url = url ?: throw IOException("No url provided") request.url(url) data?.let { request.method(requestMethod, it.toRequestBody(mediaType())) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.7K bytes - Click Count (0) -
guava/src/com/google/common/cache/RemovalNotification.java
import com.google.common.annotations.J2ktIncompatible; import java.util.AbstractMap.SimpleImmutableEntry; import org.jspecify.annotations.Nullable; /** * A notification of the removal of a single entry. The key and/or value may be null if they were * already garbage collected. * * <p>Like other {@code Entry} instances associated with {@code CacheBuilder}, this class holdsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java
private Artifact newArtifact(String aid) { return new DefaultArtifact("group", aid, VersionRange.createFromVersion("1.0"), "test", "jar", "tests", null); } @Test void testIsSnapshot() { assertFalse(ArtifactUtils.isSnapshot(null)); assertFalse(ArtifactUtils.isSnapshot("")); assertFalse(ArtifactUtils.isSnapshot("1.2.3")); assertTrue(ArtifactUtils.isSnapshot("1.2.3-SNAPSHOT"));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.9K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt
), ), ).isEqualTo(null) } @Test fun inlineDeltaOrNullMultipleMappedToCodePoints() { assertThat( inlineDeltaOrNull( mappingOf( sourceCodePoint0 = 1, sourceCodePoint1 = 1, mappedToCodePoints = listOf(2, 3), ), ), ).isEqualTo(null) } @Test fun inlineDeltaOrNullMaxCodepointDelta() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.3K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
}.toMap() internal fun androidLog( loggerName: String, logLevel: Int, message: String, t: Throwable? = null, ) { val tag = loggerTag(loggerName) if (Log.isLoggable(tag, logLevel)) { var logMessage = message if (t != null) logMessage = logMessage + '\n'.toString() + Log.getStackTraceString(t) // Split by line, then ensure each line can fit into Log's maximum length.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Oct 25 11:16:17 GMT 2025 - 4.3K bytes - Click Count (0)