Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 57 for getSources (0.25 sec)

  1. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.acceptFrame() // RST_STREAM
        peer.play()
        val connection = connect(peer)
        val stream1 = connection.newStream(headerEntries("b", "bark"), false)
        val source = stream1.getSource()
        val buffer = Buffer()
        while (buffer.size != 1024L) source.read(buffer, 1024)
        stream1.close(ErrorCode.CANCEL, null)
        val frame1 = peer.takeFrame()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                    FileModelSource source = getSource(groupId, artifactId);
                    if (source == null) {
                        // we need to check the whole reactor in case it's a dependency
                        loadFullReactor();
                        source = getSource(groupId, artifactId);
                    }
                    if (source != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

                        activeProfiles.add(profile);
    
                        if (Profile.SOURCE_POM.equals(profile.getSource())) {
                            activatedPomProfileNotByDefault = true;
                        }
                    } else if (isActiveByDefault(profile)) {
                        if (Profile.SOURCE_POM.equals(profile.getSource())) {
                            activePomProfilesByDefault.add(profile);
                        } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. cmd/namespace-lock_test.go

    // following test. Adding new code before this test or changing its
    // position will cause the line number to change and the test to FAIL
    // Tests getSource().
    func TestGetSource(t *testing.T) {
    	currentSource := func() string { return getSource(2) }
    	gotSource := currentSource()
    	// Hard coded line number, 35, in the "expectedSource" value
    	expectedSource := "[namespace-lock_test.go:35:TestGetSource()]"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

            if (!problem.getModelId().equals(projectId)) {
                buffer.append(problem.getModelId());
    
                if (!problem.getSource().isEmpty()) {
                    if (buffer.length() > 0) {
                        buffer.append(", ");
                    }
                    buffer.append(problem.getSource());
                }
            }
    
            if (problem.getLineNumber() > 0) {
                if (buffer.length() > 0) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

     */
    @Experimental
    @Immutable
    public interface ProjectBuilderRequest {
    
        @Nonnull
        Session getSession();
    
        @Nonnull
        Optional<Path> getPath();
    
        @Nonnull
        Optional<Source> getSource();
    
        boolean isAllowStubModel();
    
        boolean isRecursive();
    
        boolean isProcessPlugins();
    
        @Nullable
        List<RemoteRepository> getRepositories();
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top