blob: 2000b6c3e32a665959f7e419ca57194ced07573b [file] [log] [blame]
public int foo(int size, int max) {
if (size < max) {
try {
size=(long)stream.available();
} catch (IOException e) {
}
} else if (size == max) {
++size;
} else {
--size;
}
return size;
}