- Sort Score
- Num 10 results
- Language All
Results 601 - 610 of 2,822 for null (0.02 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
} @Test @DisplayName("should handle null versions in comparison") void shouldHandleNullVersionsInComparison() { assertFalse(ModelVersionUtils.isVersionGreaterOrEqual(null, "4.1.0")); assertFalse(ModelVersionUtils.isVersionGreaterOrEqual("4.1.0", null)); assertFalse(ModelVersionUtils.isNewerThan410(null)); } } @NestedCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 19.6K bytes - Click Count (0) -
guava/src/com/google/common/base/MoreObjects.java
* * @return {@code first} if it is non-null; otherwise {@code second} if it is non-null * @throws NullPointerException if both {@code first} and {@code second} are null * @since 18.0 (since 3.0 as {@code Objects.firstNonNull()}). */ public static <T> T firstNonNull(@Nullable T first, @Nullable T second) { if (first != null) { return first; } if (second != null) { return second; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 16.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
* * @throws NullPointerException if the element is null * @since 6.0 (source-compatible since 2.0) */ public static <E> ImmutableMultiset<E> of(E e1) { return copyFromElements(e1); } /** * Returns an immutable multiset containing the given elements, in order. * * @throws NullPointerException if any element is null * @since 6.0 (source-compatible since 2.0) */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java
assertTrue(multimap().remove(getKeyForNullValue(), null)); expectMissing(mapEntry(getKeyForNullValue(), (V) null)); assertGet(getKeyForNullValue(), ImmutableList.of()); } @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEY_QUERIES}) public void testRemoveNullKeyAbsent() { assertFalse(multimap().remove(null, v0())); expectUnchanged(); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 6.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
delete(file); } } filesToDelete.clear(); } private File getTestDir() throws IOException { if (testDir != null) { return testDir; } URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt"); if (testFileUrl == null) { throw new RuntimeException("unable to locate testdata directory"); } if (testFileUrl.getProtocol().equals("file")) { try {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java
assertTrue(multimap().remove(getKeyForNullValue(), null)); expectMissing(mapEntry(getKeyForNullValue(), (V) null)); assertGet(getKeyForNullValue(), ImmutableList.of()); } @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEY_QUERIES}) public void testRemoveNullKeyAbsent() { assertFalse(multimap().remove(null, v0())); expectUnchanged(); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 6.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
e.getLocation().getColumnNumber(), e); } } private boolean isStrict(Map<String, ?> options) { Object value = (options != null) ? options.get(IS_STRICT) : null; return value == null || Boolean.parseBoolean(value.toString()); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.9K bytes - Click Count (0) -
guava/src/com/google/common/net/InetAddresses.java
// Parse the address, and make sure the length/version is correct. Scope scope = parseScope ? new Scope() : null; byte[] addr = ipStringToBytes(ipString, scope); if (addr == null || addr.length != expectBytes) { return null; } return bytesToInetAddress(addr, (scope != null) ? scope.scope : null); } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 47.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataRetrievalException.java
public MetadataRetrievalException(String message) { this(message, null, null); } public MetadataRetrievalException(Throwable cause) { this(null, cause, null); } public MetadataRetrievalException(String message, Throwable cause) { this(message, cause, null); } public MetadataRetrievalException(String message, Throwable cause, ArtifactMetadata artifact) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java
* @param options possible parsing options, may be {@code null} * @return an optional parsed {@link Model} or {@code null} if none could be found * @throws ModelParserException if the located model cannot be parsed */ @Nonnull default Optional<Model> locateAndParse(@Nonnull Path dir, @Nullable Map<String, ?> options) throws ModelParserException {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Sep 10 17:18:47 GMT 2024 - 3.1K bytes - Click Count (0)