移除ACache读取后最后一个换行符
This commit is contained in:
parent
499b73295d
commit
af4176bcb7
@ -163,6 +163,7 @@ public class ACache {
|
|||||||
while ((currentLine = in.readLine()) != null) {
|
while ((currentLine = in.readLine()) != null) {
|
||||||
readString += currentLine + "\n";
|
readString += currentLine + "\n";
|
||||||
}
|
}
|
||||||
|
readString = readString.substring(0, readString.length() - 1);
|
||||||
if (!Utils.isDue(readString)) {
|
if (!Utils.isDue(readString)) {
|
||||||
return Utils.clearDateInfo(readString);
|
return Utils.clearDateInfo(readString);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user