Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for req (0.01 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java

        }
    
        public void add(ModelProblemCollectorRequest req) {
            switch (req.getSeverity()) {
                case FATAL:
                    if (!fatals.contains(req.getMessage())) {
                        fatals.add(req.getMessage());
                    }
                    break;
                case ERROR:
                    if (!errors.contains(req.getMessage())) {
                        errors.add(req.getMessage());
                    }
                    break;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

        @Override
        public void add(ModelProblemCollectorRequest req) {
            int line = -1;
            int column = -1;
            String source = null;
            String modelId = null;
    
            if (req.getLocation() != null) {
                line = req.getLocation().getLineNumber();
                column = req.getLocation().getColumnNumber();
                if (req.getLocation().getSource() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java

            SimpleModelProblemCollector(ModelValidationResult result) {
                this.result = result;
            }
    
            public void add(ModelProblemCollectorRequest req) {
                if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) {
                    result.addMessage(req.getMessage());
                }
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            List<Profile> profiles = profileSelector.getActiveProfiles(profilesById.values(), context, req -> {
                if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) {
                    errors.add(new ProfileActivationException(req.getMessage(), req.getException()));
                }
            });
    
            if (!errors.isEmpty()) {
                throw errors.get(0);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                MavenSession session = legacySupport.getSession();
                if (session != null) {
                    MavenExecutionRequest req = session.getRequest();
                    if (req != null) {
                        request.setActiveProfileIds(req.getActiveProfiles());
                        request.setInactiveProfileIds(req.getInactiveProfiles());
                    }
                }
            }
    
            return request;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollector.java

     */
    @Deprecated(since = "4.0.0")
    public interface ModelProblemCollector {
    
        /**
         * Adds the specified problem.
         *
         * @param req must not be null
         */
        void add(ModelProblemCollectorRequest req);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                    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 {
                    throw new IllegalArgumentException("Invalid request");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                        return null;
                    }
    
                    DefaultModelBuildingRequest req =
                            new DefaultModelBuildingRequest(request).setPomPath(p).setModelSource(new FileModelSource(p));
    
                    try {
                        return defaultModelBuilder.readRawModel(req, problems);
                    } catch (ModelBuildingException e) {
                        // gathered with problem collector
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    func (s *xlStorage) ReadMultiple(ctx context.Context, req ReadMultipleReq, resp chan<- ReadMultipleResp) error {
    	defer xioutil.SafeClose(resp)
    
    	volumeDir := pathJoin(s.drivePath, req.Bucket)
    	found := 0
    	for _, f := range req.Files {
    		if contextCanceled(ctx) {
    			return ctx.Err()
    		}
    		r := ReadMultipleResp{
    			Bucket: req.Bucket,
    			Prefix: req.Prefix,
    			File:   f,
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  10. cmd/xl-storage-disk-id-check.go

    func (p *xlStorageDiskIDCheck) ReadMultiple(ctx context.Context, req ReadMultipleReq, resp chan<- ReadMultipleResp) (err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricReadMultiple, req.Bucket, req.Prefix)
    	if err != nil {
    		xioutil.SafeClose(resp)
    		return err
    	}
    	defer done(0, &err)
    
    	return p.storage.ReadMultiple(ctx, req, resp)
    }
    
    // CleanAbandonedData will read metadata of the object on disk
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top