ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant DefaultLogger.java
Date Wed, 20 Sep 2000 14:55:00 GMT
bodewig     00/09/20 07:54:59

  Modified:    src/main/org/apache/tools/ant DefaultLogger.java
  Log:
  Make defaultlogger easier to extend.
  Submitted by:	<mcclain.looney@webhelp.com>
  
  Revision  Changes    Path
  1.8       +6 -6      jakarta-ant/src/main/org/apache/tools/ant/DefaultLogger.java
  
  Index: DefaultLogger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/DefaultLogger.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- DefaultLogger.java	2000/09/06 11:34:38	1.7
  +++ DefaultLogger.java	2000/09/20 14:54:56	1.8
  @@ -64,14 +64,14 @@
   public class DefaultLogger implements BuildLogger {
       private static int LEFT_COLUMN_SIZE = 12;
   
  -    private PrintStream out;
  -    private PrintStream err;
  -    private int msgOutputLevel;
  +    protected PrintStream out;
  +    protected PrintStream err;
  +    protected int msgOutputLevel;
       private long startTime = System.currentTimeMillis();
   	
  -    private static String lSep = System.getProperty("line.separator");
  +    protected static String lSep = System.getProperty("line.separator");
   
  -    private boolean emacsMode = false;
  +    protected boolean emacsMode = false;
   
       /**
        * Set the msgOutputLevel this logger is to respond to.
  @@ -185,7 +185,7 @@
           }
       }
   
  -    private static String formatTime(long millis) {
  +    protected static String formatTime(long millis) {
           long seconds = millis / 1000;
           long minutes = seconds / 60;
   
  
  
  

Mime
View raw message