Remove get*() from the methods to match the rest of our method signatures

This commit is contained in:
Norman Maurer 2012-12-19 15:38:17 +01:00
parent a1368f0fa8
commit d9b26dab29
4 changed files with 8 additions and 8 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -67,7 +67,7 @@ public class ChunkedNioStream implements ChunkedByteInput {
/**
* Returns the number of transferred bytes.
*/
public long getTransferredBytes() {
public long transferredBytes() {
return offset;
}

View File

@ -72,7 +72,7 @@ public class ChunkedStream implements ChunkedByteInput {
/**
* Returns the number of transferred bytes.
*/
public long getTransferredBytes() {
public long transferredBytes() {
return offset;
}