[MSHARED-552] fixed constructors to use proper Ansi method (supporting color disable)
authorHerve Boutemy <hboutemy@apache.org>
Sat, 18 Jun 2016 05:46:34 +0000 (05:46 +0000)
committerHerve Boutemy <hboutemy@apache.org>
Sat, 18 Jun 2016 05:46:34 +0000 (05:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1748913 13f79535-47bb-0310-9956-ffa450edef68

src/main/java/org/apache/maven/shared/project/utils/AnsiUtils.java

index bb0db2c..11c7c61 100644 (file)
@@ -34,17 +34,17 @@ public class AnsiUtils
 
     private AnsiUtils()
     {
-        ansi = new Ansi();
+        ansi = Ansi.ansi();
     }
 
     private AnsiUtils( StringBuilder builder )
     {
-        ansi = new Ansi( builder );
+        ansi = Ansi.ansi( builder );
     }
 
     private AnsiUtils( int size )
     {
-        ansi = new Ansi( size );
+        ansi = Ansi.ansi( size );
     }
 
     public static void systemInstall()