maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michael-o <...@git.apache.org>
Subject [GitHub] maven pull request #70: MNG-3092: Adds version range result filter behaviour
Date Wed, 15 Jun 2016 19:58:46 GMT
Github user michael-o commented on a diff in the pull request:

    https://github.com/apache/maven/pull/70#discussion_r67234360
  
    --- Diff: maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
---
    @@ -136,15 +152,22 @@ public DefaultVersionRangeResolver setSyncContextFactory( SyncContextFactory
syn
         }
     
         public DefaultVersionRangeResolver setRepositoryEventDispatcher(
    -        RepositoryEventDispatcher repositoryEventDispatcher )
    +            RepositoryEventDispatcher repositoryEventDispatcher )
         {
             this.repositoryEventDispatcher = Validate.notNull( repositoryEventDispatcher,
    -            "repositoryEventDispatcher cannot be null" );
    +                "repositoryEventDispatcher cannot be null" );
    +        return this;
    +    }
    +
    +    public DefaultVersionRangeResolver setVersionRangeResultFilter( VersionRangeResultFilter
versionRangeResultFilter )
    +    {
    +        this.versionRangeResultFilter = Validate.notNull( versionRangeResultFilter,
    +                "versionRangeResultFilter cannot be null" );
             return this;
         }
     
         public VersionRangeResult resolveVersionRange( RepositorySystemSession session, VersionRangeRequest
request )
    -        throws VersionRangeResolutionException
    +            throws VersionRangeResolutionException
    --- End diff --
    
    Unrelated change, revert!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message