InputStream IStream = null;
try {
IStream = sock.getInputStream();
- } catch (IOException e) {}
+ }
+ catch (IOException e) {}
InputStreamReader IMesg = new InputStreamReader(IStream);
lecture = new BufferedReader(IMesg);
//FIXME: read only the line before the ending newline
line = lecture.readLine();
}
- catch (IOException e) {}
+ catch (IOException e) {}
return line;
}
public void closeRWIO() {
ecriture.close();
- try {
- lecture.close();
- }
- catch (IOException e) {}
+ try {
+ lecture.close();
+ }
+ catch (IOException e) {}
}
} // fin classe ClientSimplifie