We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1772123 commit 02db258Copy full SHA for 02db258
client/src/main/java/org/asynchttpclient/netty/request/body/BodyFileRegion.java
@@ -30,7 +30,7 @@
30
public class BodyFileRegion extends AbstractReferenceCounted implements FileRegion {
31
32
private final RandomAccessBody body;
33
- private long transfered;
+ private long transferred;
34
35
public BodyFileRegion(RandomAccessBody body) {
36
this.body = assertNotNull(body, "body");
@@ -48,14 +48,14 @@ public long count() {
48
49
@Override
50
public long transfered() {
51
- return transfered;
+ return transferred;
52
}
53
54
55
public long transferTo(WritableByteChannel target, long position) throws IOException {
56
long written = body.transferTo(target);
57
if (written > 0) {
58
- transfered += written;
+ transferred += written;
59
60
return written;
61
0 commit comments