maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-core/src/main/java/org/apache/maven/cli ConsoleDownloadMonitor.java
Date Sat, 19 Mar 2005 03:00:06 GMT
brett       2005/03/18 19:00:06

  Modified:    maven-core/src/main/java/org/apache/maven/cli
                        ConsoleDownloadMonitor.java
  Log:
  implement interface change
  
  Revision  Changes    Path
  1.2       +7 -2      maven-components/maven-core/src/main/java/org/apache/maven/cli/ConsoleDownloadMonitor.java
  
  Index: ConsoleDownloadMonitor.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/cli/ConsoleDownloadMonitor.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConsoleDownloadMonitor.java	10 Feb 2005 07:09:57 -0000	1.1
  +++ ConsoleDownloadMonitor.java	19 Mar 2005 03:00:06 -0000	1.2
  @@ -33,12 +33,17 @@
   {
       private long complete;
   
  -    public void transferStarted( TransferEvent transferEvent )
  +    public void transferInitiated( TransferEvent transferEvent )
       {
           System.out.println( "Downloading: " + transferEvent.getResource().getName() );
           complete = 0;
       }
   
  +    public void transferStarted( TransferEvent transferEvent )
  +    {
  +        // This space left intentionally blank
  +    }
  +
       public void transferProgress( TransferEvent transferEvent, byte[] buffer, int length
)
       {
           long total = transferEvent.getResource().getContentLength();
  
  
  

Mime
View raw message