-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
i suggest:
IniEditer.java
public void load(BufferedReader reader) throws IOException {
while (reader.ready()) {
reader.mark(NAME_MAXLENGTH);
String line = reader.readLine().trim();
to
public void load(BufferedReader reader) throws IOException {
while (reader.ready()) {
reader.mark(NAME_MAXLENGTH);
String strrawline = reader.readLine();
if (null == strrawline) {
return;
}
String line = strrawline.trim();
when a /0D /0A at the end of the ini file. if (line.length() > 0 && line.charAt(0) == HEADER_START) will cause nullexception.
Metadata
Metadata
Assignees
Labels
No labels