Commit ac5bb38
committed
Rename Downloads.download BiConsumer argument
Rename from progressConsumer to progressSubscriber, for two reasons:
1. Consistency with Builder's subscribeOutput, subscribeError, and
subscribeProgress functions, which accept "subscriber" objects.
2. There is an existing interface ProgressConsumer used by the
Builder#subscribeProgress reporting, but the BiConsumer argument
of download is *not* an object implementing this interface.1 parent 1eb2f6d commit ac5bb38
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
| 137 | + | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
0 commit comments