- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 45 for getSource (0.06 seconds)
-
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)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 11.6K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4.4K bytes - Click Count (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
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
if (request.getPath().isPresent()) { Path path = request.getPath().get(); res = builder.build(path.toFile(), req); } else if (request.getSource().isPresent()) { Source source = request.getSource().get(); ModelSource2 modelSource = new SourceWrapper(source); res = builder.build(modelSource, req); } else {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Sep 13 09:44:11 GMT 2025 - 8.8K bytes - Click Count (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
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 7.4K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java
this.lineNumber = location.getLineNumber(); this.columnNumber = location.getColumnNumber(); this.source = location.getSource() != null ? new InputSource(location.getSource()) : null; this.locations = location.getLocations().isEmpty() ? null : location.getLocations().entrySet().stream()
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 13.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
assertNotNull( location.getSource(), "Profile location source should not be null for profile: " + profile.getId()); assertTrue( location.getSource().getLocation().contains("pom-with-profiles/pom.xml"), "Profile location should contain 'pom-with-profiles/pom.xml', but was: " + location.getSource().getLocation() + " for profile: " + profile.getId());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 33.7K bytes - Click Count (0) -
cmd/namespace-lock.go
opsID string } // Lock - block until write lock is taken or timeout has occurred. func (di *distLockInstance) GetLock(ctx context.Context, timeout *dynamicTimeout) (LockContext, error) { lockSource := getSource(2) start := UTCNow() newCtx, cancel := context.WithCancel(ctx) if !di.rwMutex.GetLock(newCtx, cancel, di.opsID, lockSource, dsync.Options{ Timeout: timeout.Timeout(),
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingException.java
buffer.append(problem.getMessage()); String location = ""; if (!problem.getSource().trim().isEmpty()) { location = problem.getSource(); } if (problem.getLineNumber() > 0) { if (!location.isEmpty()) { location += ", ";
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jul 26 19:15:57 GMT 2025 - 6K bytes - Click Count (0)