1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-01 05:15:43 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2010-06-27 21:38:53 +00:00
parent 494b2dc62c
commit 2afd46deb6

View file

@ -312,8 +312,7 @@ public class TextSearchWrapper {
Reader reader; Reader reader;
SimpleScanner scanner= new SimpleScanner(); SimpleScanner scanner= new SimpleScanner();
try { try {
reader = new BufferedReader( reader = new BufferedReader(new InputStreamReader(file.getContents(), file.getCharset()));
new InputStreamReader(file.getContents(), file.getCharset()));
} catch (CoreException e) { } catch (CoreException e) {
return; return;
} catch (UnsupportedEncodingException e) { } catch (UnsupportedEncodingException e) {
@ -354,7 +353,7 @@ public class TextSearchWrapper {
} finally { } finally {
try { try {
reader.close(); reader.close();
} catch (IOException e1) { } catch (IOException e) {
} }
} }
} }