You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2021/01/22 11:50:55 UTC

[maven-shared-utils] branch ansi created (now 4fcf6fc)

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

elharo pushed a change to branch ansi
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git.


      at 4fcf6fc  replace deprecated fields

This branch includes the following new commits:

     new 4fcf6fc  replace deprecated fields

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-shared-utils] 01/01: replace deprecated fields

Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch ansi
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git

commit 4fcf6fc68727a16d666b9c37c2a81b0966513566
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Fri Jan 22 06:50:40 2021 -0500

    replace deprecated fields
---
 src/main/java/org/apache/maven/shared/utils/logging/MessageUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/shared/utils/logging/MessageUtils.java b/src/main/java/org/apache/maven/shared/utils/logging/MessageUtils.java
index 74b85a4..d8995e7 100644
--- a/src/main/java/org/apache/maven/shared/utils/logging/MessageUtils.java
+++ b/src/main/java/org/apache/maven/shared/utils/logging/MessageUtils.java
@@ -82,7 +82,7 @@ public class MessageUtils
             if ( shutdownHook != null )
             {
                 // if out and system_out are same instance again, ansi is assumed to be uninstalled 
-                if ( AnsiConsole.out == AnsiConsole.system_out )
+                if ( AnsiConsole.out() == AnsiConsole.sysOut() )
                 {
                     try
                     {