- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 610 for Equals (0.07 seconds)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
boolean reverse = false; if (test.startsWith("!")) { reverse = true; test = test.substring(1); } boolean result = actualArch.equals(test); return reverse ? !result : result; } private boolean determineNameMatch(String expectedName, String actualName) { String test = expectedName.toLowerCase(Locale.ENGLISH);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 5.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
} break; } else { // Check if this is the -f/--file option isAltFile = arg.equals("-f") || arg.equals("--file"); } } return getCanonicalPath(topDirectory); } @Nullable protected Path getRootDirectory(LocalContext context) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:39:11 GMT 2025 - 25.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java
String expectedUnicode = String.valueOf(icon.getUnicodeChar()); String expectedAscii = icon.getAsciiFallback(); assertTrue( result.equals(expectedUnicode) || result.equals(expectedAscii), "Result should be either Unicode or ASCII fallback for " + icon + ", got: " + result); } } @Test
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 6.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java
return nature; } @Override public boolean equals(Object o) { return o instanceof DefaultVersionResolverRequest that && Objects.equals(artifactCoordinates, that.artifactCoordinates) && Objects.equals(repositories, that.repositories) && nature == that.nature; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 10.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java
} @Override public boolean equals(Object o) { return o instanceof DefaultToolchainsBuilderRequest that && Objects.equals(installationToolchainsSource, that.installationToolchainsSource) && Objects.equals(userToolchainsSource, that.userToolchainsSource); } @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 6.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/Maven2DependenciesValidator.java
Set<String> maven2Versions = artifactDescriptorResult.getDependencies().stream() .map(Dependency::getArtifact) .filter(d -> "org.apache.maven".equals(d.getGroupId())) .filter(d -> !DefaultPluginValidationManager.EXPECTED_PROVIDED_SCOPE_EXCLUSIONS_GA.contains( d.getGroupId() + ":" + d.getArtifactId()))
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/EmptyLifecyclePluginAnalyzer.java
Set<Plugin> plugins; // NOTE: The upper-case packaging name is intentional, that's a special hinting mode used for certain tests if ("JAR".equals(packaging)) { plugins = new LinkedHashSet<>(); plugins.add(newPlugin("maven-compiler-plugin", "compile", "testCompile"));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
changed = metadata.merge(this.metadata); } // beware meta-versions! String version = metadata.getVersion(); if (Artifact.LATEST_VERSION.equals(version) || Artifact.RELEASE_VERSION.equals(version)) { // meta-versions are not valid <version/> values...don't write them. metadata.setVersion(null); } if (changed || !metadataFile.exists()) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.2K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java
System.out.println("[ Looking for " + groupId + ":" + artifactId + " ]"); for (Artifact a : project.getArtifacts()) { System.out.println(a.toString()); if (artifactId.equals(a.getArtifactId()) && a.getGroupId().equals(groupId)) { System.out.println("RETURN"); return a; } } System.out.println("Return null"); return null; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 6.4K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
c.addDependency(dFarthest); /* system and provided dependencies are not transitive */ if (!Artifact.SCOPE_SYSTEM.equals(nearestScope) && !Artifact.SCOPE_PROVIDED.equals(nearestScope)) { checkScopeUpdate(a, b, expectedScope, "2.0"); } } private void checkScopeUpdateDirect(String farthestScope, String nearestScope, String expectedScope)
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 43K bytes - Click Count (0)