Skip to content

Commit

Permalink
Make it possible to run unit tests from an IDE
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Mar 19, 2017
1 parent 1638280 commit 68e38e5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 28,7 @@
import java.util.Locale;
import java.util.Properties;

import org.apache.commons.lang3.StringUtils;
import org.codehaus.plexus.util.Os;
import org.slf4j.Logger;

Expand Down Expand Up @@ -94,7 95,7 @@ static String createMavenVersionString( Properties buildProperties )
{
msg = " (";
msg = ( rev != null ? rev : "" );
if ( timestamp != null )
if ( StringUtils.isNotBlank( timestamp ) )
{
String ts = formatTimestamp( Long.valueOf( timestamp ) );
msg = ( rev != null ? "; " : "" ) ts;
Expand Down

0 comments on commit 68e38e5

Please sign in to comment.