You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2019/05/25 12:32:33 UTC

[maven] branch MNG-6633 updated: [MNG-6633] - Reduce memory usage of excludes - fix rat/checkstyle errors

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch MNG-6633
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/MNG-6633 by this push:
     new 6c01ec1  [MNG-6633] - Reduce memory usage of excludes - fix rat/checkstyle errors
6c01ec1 is described below

commit 6c01ec18cbd75d808579cd1708bd795d4efae6c9
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sat May 25 14:26:09 2019 +0200

    [MNG-6633] - Reduce memory usage of excludes - fix rat/checkstyle errors
---
 .../resolver/filter/ExclusionArtifactFilter.java   | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java b/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
index b51350d..42390d6 100644
--- a/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
+++ b/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
@@ -1,10 +1,32 @@
 package org.apache.maven.artifact.resolver.filter;
 
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 import java.util.List;
 
 import org.apache.maven.artifact.Artifact;
 import org.apache.maven.model.Exclusion;
 
+/**
+ *  Filter to exclude from a list of artifact patterns.
+ */
 public class ExclusionArtifactFilter implements ArtifactFilter
 {
     private final List<Exclusion> exclusions;