mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
commit
d4779655ad
@ -153,7 +153,7 @@ public class Tailer implements Serializable {
|
|||||||
Stack<String> stack = new Stack<>();
|
Stack<String> stack = new Stack<>();
|
||||||
|
|
||||||
long start = this.randomAccessFile.getFilePointer();
|
long start = this.randomAccessFile.getFilePointer();
|
||||||
long nextEnd = len - 1;
|
long nextEnd = (len - 1) < 0 ? 0 : len - 1;
|
||||||
this.randomAccessFile.seek(nextEnd);
|
this.randomAccessFile.seek(nextEnd);
|
||||||
int c;
|
int c;
|
||||||
int currentLine = 0;
|
int currentLine = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user