Skip to content

Commit f483731

Browse files
committed
fix API docu
1 parent 69951ad commit f483731

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/com/inet/lib/less/LessLookAheadReader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,9 @@ boolean nextIsMixinParam( boolean isBlock ) {
292292
/**
293293
* Read a single character from reader or from back buffer
294294
*
295-
* @return a character or -1 if EOF
295+
* @return a character
296296
* @throws LessException
297-
* If an I/O error occurs
297+
* If an I/O error occurs or EOF
298298
*/
299299
char read() {
300300
try {

src/com/inet/lib/less/LessParser.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,9 @@ private boolean comment( FormattableContainer container ) {
12221222
/**
12231223
* Read a single character from reader or from back buffer
12241224
*
1225-
* @return a character or -1 if EOF
1225+
* @return a character
1226+
* @throws LessException
1227+
* If an I/O error occurs or EOF
12261228
*/
12271229
private char read() {
12281230
return reader.read();

0 commit comments

Comments
 (0)