mirror of https://github.com/apache/maven.git
implement interface change
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163619 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f5605e5327
commit
b164176ca9
|
@ -33,12 +33,17 @@ public class ConsoleDownloadMonitor
|
|||
{
|
||||
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();
|
||||
|
|
Loading…
Reference in New Issue