mirror of https://github.com/apache/maven.git
o Added toString() to ease debugging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784207 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8ea0c6f06b
commit
cdf805d662
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue