File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2012-2016 the original author or authors.
2
+ * Copyright 2012-2018 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
23
23
import org .eclipse .aether .DefaultRepositorySystemSession ;
24
24
import org .eclipse .aether .RepositoryEvent ;
25
25
import org .eclipse .aether .transfer .AbstractTransferListener ;
26
- import org .eclipse .aether .transfer .TransferCancelledException ;
27
26
import org .eclipse .aether .transfer .TransferEvent ;
28
27
29
28
/**
@@ -53,14 +52,12 @@ final class SummaryProgressReporter implements ProgressReporter {
53
52
session .setTransferListener (new AbstractTransferListener () {
54
53
55
54
@ Override
56
- public void transferStarted (TransferEvent event )
57
- throws TransferCancelledException {
55
+ public void transferStarted (TransferEvent event ) {
58
56
reportProgress ();
59
57
}
60
58
61
59
@ Override
62
- public void transferProgressed (TransferEvent event )
63
- throws TransferCancelledException {
60
+ public void transferProgressed (TransferEvent event ) {
64
61
reportProgress ();
65
62
}
66
63
@@ -95,7 +92,7 @@ else if (System.currentTimeMillis()
95
92
public void finished () {
96
93
if (this .started && !this .finished ) {
97
94
this .finished = true ;
98
- System .out .println ("" );
95
+ this .out .println ();
99
96
}
100
97
}
101
98
You can’t perform that action at this time.
0 commit comments