Remove get*() from the methods to match the rest of our method signatures
This commit is contained in:
parent
a1368f0fa8
commit
d9b26dab29
@ -108,21 +108,21 @@ public class ChunkedFile implements ChunkedByteInput {
|
||||
/**
|
||||
* Returns the offset in the file where the transfer began.
|
||||
*/
|
||||
public long getStartOffset() {
|
||||
public long startOffset() {
|
||||
return startOffset;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the offset in the file where the transfer will end.
|
||||
*/
|
||||
public long getEndOffset() {
|
||||
public long endOffset() {
|
||||
return endOffset;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the offset in the file where the transfer is happening currently.
|
||||
*/
|
||||
public long getCurrentOffset() {
|
||||
public long currentOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
|
@ -112,21 +112,21 @@ public class ChunkedNioFile implements ChunkedByteInput {
|
||||
/**
|
||||
* Returns the offset in the file where the transfer began.
|
||||
*/
|
||||
public long getStartOffset() {
|
||||
public long startOffset() {
|
||||
return startOffset;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the offset in the file where the transfer will end.
|
||||
*/
|
||||
public long getEndOffset() {
|
||||
public long endOffset() {
|
||||
return endOffset;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the offset in the file where the transfer is happening currently.
|
||||
*/
|
||||
public long getCurrentOffset() {
|
||||
public long currentOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ public class ChunkedNioStream implements ChunkedByteInput {
|
||||
/**
|
||||
* Returns the number of transferred bytes.
|
||||
*/
|
||||
public long getTransferredBytes() {
|
||||
public long transferredBytes() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
|
@ -72,7 +72,7 @@ public class ChunkedStream implements ChunkedByteInput {
|
||||
/**
|
||||
* Returns the number of transferred bytes.
|
||||
*/
|
||||
public long getTransferredBytes() {
|
||||
public long transferredBytes() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user