You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "olamy (via GitHub)" <gi...@apache.org> on 2025/05/06 11:26:07 UTC

Re: [PR] Pull #2290: Modernize codebase with Java improvements - Replace custom null checks with `Objects.requireNonNull` [maven]

olamy commented on code in PR #2290:
URL: https://github.com/apache/maven/pull/2290#discussion_r2075261105


##########
impl/maven-impl/src/main/java/org/apache/maven/impl/ImplUtils.java:
##########
@@ -25,18 +25,21 @@
 import java.util.stream.Collectors;
 
 class ImplUtils {
+
+    /**
+     * @deprecated Use {@link Objects#requireNonNull(Object)} instead.
+     */
+    @Deprecated

Review Comment:
   We are still in RC. Maybe we can remove it? (or mark it for removal in 4.1?)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org