- Sort Score
- Num 10 results
- Language All
Results 971 - 980 of 4,653 for nullif (0.06 seconds)
-
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt
fun assertClose() { nextEvent() as Closed } fun assertFailure( message: String?, code: Int? = null, ) { val event = nextEvent() as Failure if (code != null) { assertThat(event.response?.code).isEqualTo(code) } if (message != null) { assertThat(event.message).isEqualTo(message) } else { assertThat(event.t).isNull() } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 11:32:52 GMT 2025 - 3.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactory.java
/** * Creates an artifact. * * @param request the request holding artifact creation parameters * @return an {@code Artifact}, never {@code null} * @throws IllegalArgumentException if {@code request} is null or {@code request.session} is null or invalid */ @Nonnull Artifact create(@Nonnull ArtifactFactoryRequest request); @Nonnull default Artifact create(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Aug 27 21:13:34 GMT 2024 - 3.3K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestTraceTest.java
} @Test void testNullValues() { RequestTrace trace = new RequestTrace(null, null, null); assertNull(trace.context()); assertNull(trace.parent()); assertNull(trace.data()); } @Test void testChainedTraces() { RequestTrace root = new RequestTrace("root", null, "root-data"); RequestTrace level1 = new RequestTrace("level1", root, "level1-data");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java
private Set<DurationSpec> expireAfterAccesses = Sets.newHashSet((DurationSpec) null); private Set<DurationSpec> refreshes = Sets.newHashSet((DurationSpec) null); private Set<Strength> keyStrengths = Sets.newHashSet((Strength) null); private Set<Strength> valueStrengths = Sets.newHashSet((Strength) null); @CanIgnoreReturnValue CacheBuilderFactory withConcurrencyLevels(Set<Integer> concurrencyLevels) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 7.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java
@Override public DefaultModelBuildingRequest setPomFile(File pomFile) { this.pomFile = (pomFile != null) ? pomFile.getAbsoluteFile() : null; return this; } @Override public synchronized ModelSource getModelSource() { if (modelSource == null && pomFile != null) { modelSource = new FileModelSource(pomFile); } return modelSource; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 9.2K bytes - Click Count (0) -
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 21:43:06 GMT 2025 - 22.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/StandardMutableValueGraph.java
GraphConnections<N, V> connectionsV = nodeConnections.get(nodeV); if (connectionsU == null || connectionsV == null) { return null; } V previousValue = connectionsU.removeSuccessor(nodeV); if (previousValue != null) { connectionsV.removePredecessor(nodeU); checkNonNegative(--edgeCount); } return previousValue; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.3K bytes - Click Count (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
* @return map of attribute names to values, never {@code null} */ @Nonnull Map<String, String> attributes(); /** * Returns the value of a specific attribute. * * @param name the name of the attribute to retrieve * @return the attribute value, or {@code null} if the attribute doesn't exist * @throws NullPointerException if name is null */ @NullableCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 17 15:20:44 GMT 2025 - 18.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
return LegacyLocalRepositoryManager.overlay(localRepository, legacySupport.getRepositorySession(), null); } private void injectSession1(RepositoryRequest request, MavenSession session) { if (session != null) { request.setOffline(session.isOffline()); request.setForceUpdate(session.getRequest().isUpdateSnapshots()); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 25K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java
return null; } }); MockSMailPostingDiscloser discloser = new MockSMailPostingDiscloser(); // Should return early without doing anything try { notificationHelper.sendToSlack(null, discloser); } catch (Exception e) { fail("sendToSlack() should not throw an exception with null URLs: " + e.getMessage()); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 20K bytes - Click Count (0)