mirror of https://github.com/apache/archiva.git
fix typo in the field name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370963 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
891e92e162
commit
a4f6bdf679
|
@ -227,19 +227,19 @@ public class DownloadRemoteIndexTask
|
||||||
{
|
{
|
||||||
private Logger log = LoggerFactory.getLogger( getClass() );
|
private Logger log = LoggerFactory.getLogger( getClass() );
|
||||||
|
|
||||||
String reourceName;
|
String resourceName;
|
||||||
|
|
||||||
long startTime;
|
long startTime;
|
||||||
|
|
||||||
public void transferInitiated( TransferEvent transferEvent )
|
public void transferInitiated( TransferEvent transferEvent )
|
||||||
{
|
{
|
||||||
reourceName = transferEvent.getResource().getName();
|
resourceName = transferEvent.getResource().getName();
|
||||||
log.debug( "initiate transfer of {}", reourceName );
|
log.debug( "initiate transfer of {}", resourceName );
|
||||||
}
|
}
|
||||||
|
|
||||||
public void transferStarted( TransferEvent transferEvent )
|
public void transferStarted( TransferEvent transferEvent )
|
||||||
{
|
{
|
||||||
reourceName = transferEvent.getResource().getName();
|
resourceName = transferEvent.getResource().getName();
|
||||||
startTime = System.currentTimeMillis();
|
startTime = System.currentTimeMillis();
|
||||||
log.info( "start transfer of {}", transferEvent.getResource().getName() );
|
log.info( "start transfer of {}", transferEvent.getResource().getName() );
|
||||||
}
|
}
|
||||||
|
@ -252,7 +252,7 @@ public class DownloadRemoteIndexTask
|
||||||
|
|
||||||
public void transferCompleted( TransferEvent transferEvent )
|
public void transferCompleted( TransferEvent transferEvent )
|
||||||
{
|
{
|
||||||
reourceName = transferEvent.getResource().getName();
|
resourceName = transferEvent.getResource().getName();
|
||||||
long endTime = System.currentTimeMillis();
|
long endTime = System.currentTimeMillis();
|
||||||
log.info( "end of transfer file {}: {}s", transferEvent.getResource().getName(),
|
log.info( "end of transfer file {}: {}s", transferEvent.getResource().getName(),
|
||||||
( endTime - startTime ) / 1000 );
|
( endTime - startTime ) / 1000 );
|
||||||
|
|
Loading…
Reference in New Issue