-1
look at the implementation of these methods, and you'll see that reset() is 
already integrated: that's the intend of these methods

Regards,

Hervé

Le jeudi 23 juin 2016 00:28:59 [email protected] a écrit :
> Repository: maven
> Updated Branches:
>   refs/heads/master 1b2451e79 -> 521e07cfb
> 
> 
> [MNG-3507] ANSI Color logging for improved output visibility.
> 
> o Updated to add missing 'reset' calls.
> 
> 
> Project: http://git-wip-us.apache.org/repos/asf/maven/repo
> Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/521e07cf
> Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/521e07cf
> Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/521e07cf
> 
> Branch: refs/heads/master
> Commit: 521e07cfb053f802b478e4406ce19c89e954ad3c
> Parents: 1b2451e
> Author: Christian Schulte <[email protected]>
> Authored: Thu Jun 23 02:28:09 2016 +0200
> Committer: Christian Schulte <[email protected]>
> Committed: Thu Jun 23 02:28:09 2016 +0200
> 
> ----------------------------------------------------------------------
>  .../org/apache/maven/lifecycle/LifecycleExecutionException.java  | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> ----------------------------------------------------------------------
> 
> 
> http://git-wip-us.apache.org/repos/asf/maven/blob/521e07cf/maven-core/src/ma
> in/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
> ---------------------------------------------------------------------- diff
> --git
> a/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionExc
> eption.java
> b/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionExc
> eption.java index 5645abd..ef6fd1d 100644
> ---
> a/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionExc
> eption.java +++
> b/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionExc
> eption.java @@ -93,12 +93,12 @@ public class LifecycleExecutionException
>          if ( project != null )
>          {
>              buffer.a( " on project " );
> -            buffer.project( project.getArtifactId() );
> +            buffer.project( project.getArtifactId() ).reset();
>          }
> 
>          if ( cause != null )
>          {
> -            buffer.a( ": " ).failure( cause.getMessage() );
> +            buffer.a( ": " ).failure( cause.getMessage() ).reset();
>          }
> 
>          return buffer.toString();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to