Removed / commented usage of System.out and System.err... replaced them with logger when available.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@384405 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Edwin L. Punzalan 2006-03-09 02:30:12 +00:00
parent 3a6fbd5217
commit 0853f5314d
4 changed files with 5 additions and 5 deletions

View File

@ -123,7 +123,7 @@ public class DefaultArtifactDiscoverer
}
catch ( Exception e )
{
System.out.println( "error reading file: " + filename );
getLogger().info( "error reading file: " + filename );
e.printStackTrace();
}
}

View File

@ -108,7 +108,7 @@ public class LegacyArtifactDiscoverer
}
catch ( Exception e )
{
System.out.println( "error reading file: " + filename );
getLogger().info( "error reading file: " + filename );
e.printStackTrace();
}
}

View File

@ -113,7 +113,7 @@ public class MavenProxyPropertyLoader
if ( rcc.getPrefix().length() == 0 )
{
System.err.println( "Using an empty 'prefix' is deprecated behaviour. Please set a prefix." );
//System.err.println( "Using an empty 'prefix' is deprecated behaviour. Please set a prefix." );
}
{

View File

@ -98,7 +98,7 @@ public class DiscovererJob
public void execute( JobExecutionContext context )
throws JobExecutionException
{
System.out.println( "Start execution of DiscovererJob.." );
getLogger().info( "Start execution of DiscovererJob.." );
JobDataMap dataMap = context.getJobDetail().getJobDataMap();
//configuration values specified in properties file
@ -149,7 +149,7 @@ public class DiscovererJob
me.printStackTrace();
}
System.out.println( "[DiscovererJob] DiscovererJob has finished executing." );
getLogger().info( "[DiscovererJob] DiscovererJob has finished executing." );
}
/**