40 |
|
|
41 |
import java.io.BufferedInputStream; |
import java.io.BufferedInputStream; |
42 |
import java.io.BufferedOutputStream; |
import java.io.BufferedOutputStream; |
43 |
|
import java.io.EOFException; |
44 |
import java.io.InputStream; |
import java.io.InputStream; |
45 |
import java.io.IOException; |
import java.io.IOException; |
46 |
import java.io.OutputStream; |
import java.io.OutputStream; |
771 |
throws IOException |
throws IOException |
772 |
{ |
{ |
773 |
response = in.readLine(); |
response = in.readLine(); |
774 |
|
if (response == null) |
775 |
|
{ |
776 |
|
throw new EOFException("unexpected EOF"); |
777 |
|
} |
778 |
logger.log(POP3_TRACE, "< " + response); |
logger.log(POP3_TRACE, "< " + response); |
779 |
if (response.indexOf(_OK) == 0) |
if (response.indexOf(_OK) == 0) |
780 |
{ |
{ |