- Sort Score
- Num 10 results
- Language All
Results 851 - 860 of 4,689 for nulls (0.06 seconds)
-
guava/src/com/google/common/collect/CollectPreconditions.java
@GwtCompatible final class CollectPreconditions { static void checkEntryNotNull(@Nullable Object key, @Nullable Object value) { if (key == null) { throw new NullPointerException("null key in entry: null=" + value); } else if (value == null) { throw new NullPointerException("null value in entry: " + key + "=null"); } } @CanIgnoreReturnValue static int checkNonnegative(int value, String name) { if (value < 0) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 10 21:56:42 GMT 2025 - 2.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
e); return null; } return artifactFactory.createPluginArtifact(plugin.getGroupId(), plugin.getArtifactId(), versionRange); } public ArtifactRepositoryPolicy buildArtifactRepositoryPolicy(RepositoryPolicy policy) { boolean enabled = true; String updatePolicy = null; String checksumPolicy = null; if (policy != null) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 31.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Ordering.java
* * <p>Example: * * {@snippet : * Ordering.allEqual().nullsLast().sortedCopy(asList(t, null, e, s, null, t, null)) * } * * <p>Assuming {@code t}, {@code e} and {@code s} are non-null, this returns {@code [t, e, s, t, * null, null, null]} regardless of the true comparison order of those three values (which might * not even implement {@link Comparable} at all). *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 39.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
ElevateWord elevateWord2 = new ElevateWord("hoge", 2.0f, Collections.singletonList("hoge"), Collections.singletonList("content"), null, null); ElevateWord elevateWord3 = new ElevateWord("fuga", 2.0f, Collections.singletonList("fuga"), Collections.singletonList("content"), null, null);Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 37.1K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java
try { org.apache.maven.api.model.Model model = delegate.read(reader, strict, source != null ? source.toApiSource() : null); return new Model(model); } catch (XMLStreamException e) { throw new XmlPullParserException(e.getMessage(), null, e); } } /** * * @param reader a reader object. * @param strict a strict object.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java
try { assertNull( "remove(null) should return null or throw NullPointerException", getMap().remove(null)); } catch (NullPointerException tolerated) { } expectUnchanged(); } @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEY_QUERIES}) public void testRemove_nullSupportedMissing() { assertNull("remove(null) should return null", getMap().remove(null)); expectUnchanged(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 5.9K bytes - Click Count (0) -
samples/slack/src/main/java/okhttp3/slack/RtmSession.java
webSocket.close(1000, null); System.out.println("onClose (" + code + "): " + reason); } @Override public void onFailure(WebSocket webSocket, Throwable t, Response response) { // TODO(jwilson): can I read the response body? Do I have to? System.out.println("onFailure " + response); } @Override public void close() throws IOException { if (webSocket == null) return; WebSocket webSocket;
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 19 20:16:58 GMT 2016 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
* @param dest The destination Bean. Must not be {@literal null}. */ public static void copyBeanToBean(final Object src, final Object dest) { copyBeanToBean(src, dest, DEFAULT_OPTIONS); } /** * Copies properties from one Bean to another Bean. * * @param src The source Bean. Must not be {@literal null}.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 23.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
public void testToString_addValueWithNullValue() { String result = MoreObjects.toStringHelper(new TestClass()) .addValue(null) .addValue("Hello") .addValue(null) .toString(); String expected = "TestClass{null, Hello, null}"; assertThat(result).isEqualTo(expected); } public void testToStringLenient_addValueWithNullValue() { String result =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 22K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
state = 0; thread = null; throw new TransportException("Connection timeout"); case 2: if (te != null) { /* doConnect throw Exception */ state = 4; /* error */ thread = null; throw te; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.3K bytes - Click Count (0)