- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for getSource (0.06 sec)
-
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java
collector.setSource("SOURCE_PROBLEM2"); collector.add(null, "PROBLEM2", -1, -1, null); collector.setSource("SOURCE_PROBLEM3"); collector.add(null, "PROBLEM3", -1, -1, null); assertEquals("", collector.getProblems().get(0).getSource()); assertEquals("SOURCE_PROBLEM2", collector.getProblems().get(1).getSource());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java
locations.putAll(sourceDominant ? sourceLocations : targetLocations); } return new InputLocation(-1, -1, InputSource.merge(source.getSource(), target.getSource()), locations); } // -- InputLocation merge( InputLocation, InputLocation, boolean ) /** * Merges the {@code source} location into the {@code target} location.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.1K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java
* * @return The hint about the source of the problem or an empty string if unknown, never {@code null}. */ String getSource(); /** * Gets the one-based index of the line containing the problem. The line number should refer to some text file that * is given by {@link #getSource()}. * * @return The one-based index of the line containing the problem or a non-positive value if unknown. */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 3.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java
md.getClassifier(), edge.getArtifactUri(), edge.getSource() == null ? "" : edge.getSource().getMd().toString(), edge.isResolved(), edge.getTarget() == null ? null
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 7.4K bytes - Viewed (0) -
cmd/namespace-lock_test.go
// Tests getSource(). func TestGetSource(t *testing.T) { currentSource := func() string { return getSource(2) } gotSource := currentSource() // Hard coded line number, 34, in the "expectedSource" value expectedSource := "[namespace-lock_test.go:34:TestGetSource()]" if gotSource != expectedSource { t.Errorf("expected : %s, got : %s", expectedSource, gotSource) } } // Test lock race
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 4.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java
* @return the hint about the source of the problem or an empty string if unknown, never {@code null} */ @Nonnull String getSource(); /** * Gets the one-based index of the line containing the problem. The line number should refer to some text file that * is given by {@link #getSource()}. * * @return the one-based index of the line containing the problem or a non-positive value if unknown */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 3.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
Profile existing = profilesById.get(profileId); if (existing != null) { logger.warn("Overriding profile: '" + profileId + "' (source: " + existing.getSource() + ") with new instance from source: " + profile.getSource()); } profilesById.put(profile.getId(), profile); Activation activation = profile.getActivation();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
assertThrows( ConflictingRequirementsException.class, () -> buildTesterRequirements(Tester.class)); assertThat(e.getConflicts()).containsExactly(FOO); assertThat(e.getSource()).isEqualTo(Tester.class.getAnnotation(Require.class)); } public void testBuildTesterRequirements_classClassConflict_inherited() { @Require(FOO) abstract class BaseTester {} @Require(absent = FOO)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 11.6K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java
assertEquals("", problem.getSource()); problem = new DefaultProblem(null, null, "", -1, -1, null); assertEquals("", problem.getSource()); problem = new DefaultProblem(null, null, "SOURCE", -1, -1, null); assertEquals("SOURCE", problem.getSource()); } @Test void testGetLocation() {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0)