diff --git a/maven-compat/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java b/maven-compat/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java index 2cee21065d..b88270effb 100644 --- a/maven-compat/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java +++ b/maven-compat/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java @@ -146,4 +146,19 @@ public class ArtifactRepositoryPolicy // else assume "never" return checkForUpdates; } + + @Override + public String toString() + { + StringBuilder buffer = new StringBuilder( 64 ); + buffer.append( "{enabled=" ); + buffer.append( enabled ); + buffer.append( ", checksums=" ); + buffer.append( checksumPolicy ); + buffer.append( ", updates=" ); + buffer.append( updatePolicy ); + buffer.append( "}" ); + return buffer.toString(); + } + }