langtools/make/tools/propertiesparser/parser/MessageFile.java
changeset 45504 ea7475564d07
parent 34752 9c262a013456
equal deleted inserted replaced
45503:d23ae2d67a5d 45504:ea7475564d07
    52             else
    52             else
    53                 currLine = currLine.append(line);
    53                 currLine = currLine.append(line);
    54             if (line.startsWith(keyPrefix + ".")) {
    54             if (line.startsWith(keyPrefix + ".")) {
    55                 int eq = line.indexOf("=");
    55                 int eq = line.indexOf("=");
    56                 if (eq > 0)
    56                 if (eq > 0)
    57                     messages.put(line.substring(0, eq), new Message(currLine));
    57                     messages.put(line.substring(0, eq).trim(), new Message(currLine));
    58             }
    58             }
    59         }
    59         }
    60     }
    60     }
    61 }
    61 }