Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7F53F200B13 for ; Wed, 15 Jun 2016 21:58:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7DD6B160A4D; Wed, 15 Jun 2016 19:58:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C51E5160A19 for ; Wed, 15 Jun 2016 21:58:47 +0200 (CEST) Received: (qmail 55579 invoked by uid 500); 15 Jun 2016 19:58:46 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 55568 invoked by uid 99); 15 Jun 2016 19:58:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2016 19:58:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 76E5ADFFF8; Wed, 15 Jun 2016 19:58:46 +0000 (UTC) From: michael-o To: dev@maven.apache.org Reply-To: dev@maven.apache.org References: In-Reply-To: Subject: [GitHub] maven pull request #70: MNG-3092: Adds version range result filter behaviour Content-Type: text/plain Message-Id: <20160615195846.76E5ADFFF8@git1-us-west.apache.org> Date: Wed, 15 Jun 2016 19:58:46 +0000 (UTC) archived-at: Wed, 15 Jun 2016 19:58:48 -0000 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