Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
public class ExcludeStartRange extends AbstractRange {

public ExcludeStartRange(int offset) {
public ExcludeStartRange(long offset) {
super(offset, -1);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Take the first bytes of the object until -- ie not including -- position 'until'
*/
public class FirstPartRange extends AbstractRange {
public FirstPartRange(int until) {
public FirstPartRange(long until) {
super(0, until);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
public class LastPartRange extends AbstractRange {

public LastPartRange(int lastBytes) {
public LastPartRange(long lastBytes) {
super(-1, lastBytes);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
public class MidPartRange extends AbstractRange {

public MidPartRange(int startPos, int endPos) {
public MidPartRange(long startPos, long endPos) {
super(startPos, endPos);
}

Expand Down