移除ACache读取后最后一个换行符

This commit is contained in:
zlzw 2023-04-13 10:43:07 +08:00
parent 499b73295d
commit af4176bcb7

View File

@ -163,6 +163,7 @@ public class ACache {
while ((currentLine = in.readLine()) != null) {
readString += currentLine + "\n";
}
readString = readString.substring(0, readString.length() - 1);
if (!Utils.isDue(readString)) {
return Utils.clearDateInfo(readString);
} else {