oops
parent
a4a2a8b19a
commit
8c162ebca7
|
|
@ -134,15 +134,7 @@ public class ExternalFactor extends VocabularyLookup
|
|||
int responseLength = in.readInt();
|
||||
byte[] response = new byte[responseLength];
|
||||
|
||||
int n = 0;
|
||||
while (n < response.length)
|
||||
{
|
||||
int count = in.read(response,n,response.length - n);
|
||||
if (count < 0)
|
||||
throw new EOFException();
|
||||
System.err.println(new String(response,n,count));
|
||||
n += count;
|
||||
}
|
||||
in.readFully(response);
|
||||
|
||||
String responseStr = new String(response,"ASCII");
|
||||
return responseStr;
|
||||
|
|
|
|||
Loading…
Reference in New Issue