monitor.writeStarted(artifact.toString(), size); if (total > threshold) { threshold += TRANSFER_NOTIFICATION_SIZE; monitor.writeProgress(total); monitor.writeComplete(total);
monitor.writeStarted(artifact.toString(), size); if (total > threshold) { threshold += UnpackArtifactTypeHandler.TRANSFER_NOTIFICATION_SIZE; monitor.writeProgress(total); in.close(); if (monitor != null) { monitor.writeComplete(total);