- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 1,425 for equalTo (0.12 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java
new License().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new License().equals(null)); new License().equals(new License()); } @Test void testEqualsIdentity() { License thing = new License(); assertTrue(thing.equals(thing)); } @Test void testToStringNullSafe() { assertNotNull(new License().toString()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilterTest.java
OrArtifactFilter filter2 = new OrArtifactFilter(Arrays.asList(newSubFilter())); assertFalse(filter1.equals(null)); assertTrue(filter1.equals(filter1)); assertEquals(filter1.hashCode(), filter1.hashCode()); assertFalse(filter1.equals(filter2)); assertFalse(filter2.equals(filter1)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparatorOrdering.java
return comparator.compare(a, b); } @Override public boolean equals(@CheckForNull Object object) { if (object == this) { return true; } if (object instanceof ComparatorOrdering) { ComparatorOrdering<?> that = (ComparatorOrdering<?>) object; return this.comparator.equals(that.comparator); } return false; } @Override public int hashCode() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 1.9K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java
} @Test void testEqualsNullSafe() { assertFalse(new IssueManagement().equals(null)); new IssueManagement().equals(new IssueManagement()); } @Test void testEqualsIdentity() { IssueManagement thing = new IssueManagement(); assertTrue(thing.equals(thing)); } @Test void testToStringNullSafe() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java
ModelBuildingResult result = builder.build(request); Dependency dep = result.getEffectiveModel().getDelegate().getDependencyManagement().getDependencies().stream() .filter(d -> "test:mydep:jar".equals(d.getManagementKey())) .findFirst() .get(); assertEquals("0.2", dep.getVersion()); assertEquals(0, result.getProblems().size()); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java
} pos = metaDataRepository.get(candidateClassName); } String outerClassName = classMetaData.getOuterClassName(); while (outerClassName != null) { if (name.equals(StringUtils.substringAfterLast(outerClassName, "."))) { return outerClassName; } ClassMetaData outerClass = metaDataRepository.get(outerClassName);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
} else if (Artifact.SCOPE_COMPILE.equals(originalScope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) { // added to retain compile scope. Remove if you want compile inherited as runtime effectiveScope = Artifact.SCOPE_COMPILE; } else if (Artifact.SCOPE_TEST.equals(inheritedScope)) { effectiveScope = Artifact.SCOPE_TEST; } else if (Artifact.SCOPE_PROVIDED.equals(inheritedScope)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java
private AuthScheme getAuthScheme() { final String scheme = getProtocolScheme(); if (Constants.BASIC.equals(scheme)) { return new BasicScheme(); } if (Constants.DIGEST.equals(scheme)) { return new DigestScheme(); } if (Constants.NTLM.equals(scheme)) { final Properties props = new Properties();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 5.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt
val parts = header.split(':', limit = 2) if ("Content-Type".equals(parts[0], ignoreCase = true)) { return@let parts[1].trim() } } return@let null } ?: "application/x-www-form-urlencoded" return mimeType.toMediaTypeOrNull() } private fun isSpecialHeader(s: String): Boolean { return s.equals("Content-Type", ignoreCase = true) } fun Main.commonRun() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0)