- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 1,838 for _new (0.02 seconds)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileModelSourceTest.java
FileModelSource instance = new FileModelSource(tempFile); assertFalse(instance.equals(null), "Expected " + instance + " to not equal " + null); assertFalse(instance.equals(new Object())); assertTrue(instance.equals(instance), "Expected " + instance + " to equal " + instance); assertTrue(instance.equals(new FileModelSource(tempFile))); } @Test
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
StringReader sReader = new StringReader(serializedModel); MavenStaxReader modelReader = new MavenStaxReader(); try { model = new Model(modelReader.read(sReader)); } catch (XMLStreamException e) { throw new ModelInterpolationException(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 13.6K bytes - Click Count (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy
final ClassMetaData owner = Mock() final MethodMetaData method = new MethodMetaData('method', owner) def formatsSignature() { method.returnType = new TypeMetaData('ReturnType') method.addParameter('param1', new TypeMetaData('ParamType')) method.addParameter('param2', new TypeMetaData('ParamType2')) expect:
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 5.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 10.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java
if (snapshots == null) { snapshots = new ArtifactRepositoryPolicy( true, ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS, ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE); } this.snapshots = snapshots; if (releases == null) { releases = new ArtifactRepositoryPolicy( true,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java
return customLifecycles != null ? customLifecycles : new HashMap<>(); } // Lifecycles cannot be cached as extensions might add custom lifecycles later in the execution. try { return registry != null ? registry.stream().collect(Collectors.toMap(lf -> lf.id(), lf -> new Lifecycle(registry, lf))) : Map.of();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 6.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
* @param supplier the supplier will compute the new value * @return the session data associated with the key */ @Nullable <T> T computeIfAbsent(@Nonnull Key<T> key, @Nonnull Supplier<T> supplier); /** * Create a key using the given class as an identifier and as the type of the object. */ static <T> Key<T> key(Class<T> clazz) { return new Key<>(clazz, clazz); } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 4.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectHelper.java
} if (handler == null) { handler = artifactHandlerManager.getArtifactHandler("jar"); } Artifact artifact = new AttachedArtifact(project.getArtifact(), artifactType, artifactClassifier, handler); artifact.setFile(artifactFile); artifact.setResolved(true); attachArtifact(project, artifact); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java
assertEquals("item1", bean.getItems().get(0)); } @Test void testPerformanceWithRepeatedCalls() throws Exception { TestBean bean1 = new TestBean(); TestBean bean2 = new TestBean(); PlexusConfiguration config = new XmlPlexusConfiguration("test"); config.setValue("testValue"); when(evaluator.evaluate("testValue")).thenReturn("testValue");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 12 14:59:46 GMT 2025 - 8.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/MavenBuildTimestamp.java
if (timestampFormat == null) { timestampFormat = DEFAULT_BUILD_TIMESTAMP_FORMAT; } if (time == null) { time = new Date(); } SimpleDateFormat dateFormat = new SimpleDateFormat(timestampFormat); dateFormat.setCalendar(new GregorianCalendar()); dateFormat.setTimeZone(DEFAULT_BUILD_TIME_ZONE); formattedTimestamp = dateFormat.format(time); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.4K bytes - Click Count (0)