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

elharo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-dependency-analyzer.git


The following commit(s) were added to refs/heads/master by this push:
     new 9c2d4ab  Remove unneeded suppression (#134)
9c2d4ab is described below

commit 9c2d4ab943cc7576806f6f987787dfc2664153e8
Author: Elliotte Rusty Harold <elh...@users.noreply.github.com>
AuthorDate: Tue Nov 26 08:05:43 2024 +0000

    Remove unneeded suppression (#134)
---
 .../maven/shared/dependency/analyzer/ProjectDependencyAnalysis.java      | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/src/main/java/org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalysis.java
 
b/src/main/java/org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalysis.java
index 83c6def..71e2496 100644
--- 
a/src/main/java/org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalysis.java
+++ 
b/src/main/java/org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalysis.java
@@ -192,7 +192,6 @@ public class ProjectDependencyAnalysis {
      *                                            used
      * @since 1.3
      */
-    @SuppressWarnings("UnusedReturnValue")
     public ProjectDependencyAnalysis forceDeclaredDependenciesUsage(String[] 
forceUsedDependencies)
             throws ProjectDependencyAnalyzerException {
         Set<String> forced = new 
HashSet<>(Arrays.asList(forceUsedDependencies));

Reply via email to