移除ACache读取后最后一个换行符
This commit is contained in:
parent
499b73295d
commit
af4176bcb7
@ -161,8 +161,9 @@ public class ACache {
|
|||||||
String readString = "";
|
String readString = "";
|
||||||
String currentLine;
|
String currentLine;
|
||||||
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