Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addProblems (0.2 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Result.java

         * @param problem
         */
        public static <T> Result<T> addProblem(Result<T> result, ModelProblem problem) {
            return addProblems(result, Collections.singleton(problem));
        }
    
        /**
         * New result that includes the given
         *
         * @param result
         * @param problems
         */
        public static <T> Result<T> addProblems(Result<T> result, Iterable<? extends ModelProblem> problems) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. misc/linkcheck/linkcheck.go

    	wg.Add(1)
    	go func() {
    		urlq <- url
    	}()
    }
    
    func addProblem(url, errmsg string) {
    	msg := fmt.Sprintf("Error on %s: %s (from %s)", url, errmsg, linkSources[url])
    	if *verbose {
    		log.Print(msg)
    	}
    	problems = append(problems, msg)
    }
    
    func crawlLoop() {
    	for url := range urlq {
    		if err := doCrawl(url); err != nil {
    			addProblem(url, err.Error())
    		}
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
Back to top