trim metadata file

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240415 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-08-27 13:00:33 +00:00
parent 14f4c980c1
commit 4b01d88bc3
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ public class SnapshotArtifactMetadata
protected void setContent( String content ) protected void setContent( String content )
{ {
Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher( content ); Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher( content.trim() );
if ( matcher.matches() ) if ( matcher.matches() )
{ {
timestamp = matcher.group( 2 ); timestamp = matcher.group( 2 );