AFMParser.java (pdfbox-2.0.23-src) | : | AFMParser.java (pdfbox-2.0.24-src) | ||
---|---|---|---|---|
skipping to change at line 902 | skipping to change at line 902 | |||
} | } | |||
/** | /** | |||
* This will read a boolean from the stream. | * This will read a boolean from the stream. | |||
* | * | |||
* @return The boolean in the stream. | * @return The boolean in the stream. | |||
*/ | */ | |||
private boolean readBoolean() throws IOException | private boolean readBoolean() throws IOException | |||
{ | { | |||
String theBoolean = readString(); | String theBoolean = readString(); | |||
return Boolean.valueOf( theBoolean ); | return Boolean.parseBoolean(theBoolean ); | |||
} | } | |||
/** | /** | |||
* This will read an integer from the stream. | * This will read an integer from the stream. | |||
* | * | |||
* @return The integer in the stream. | * @return The integer in the stream. | |||
*/ | */ | |||
private int readInt() throws IOException | private int readInt() throws IOException | |||
{ | { | |||
String theInt = readString(); | String theInt = readString(); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |