mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 12:55:40 +02:00
Cosmetics.
This commit is contained in:
parent
494b2dc62c
commit
2afd46deb6
1 changed files with 11 additions and 12 deletions
|
@ -312,8 +312,7 @@ public class TextSearchWrapper {
|
|||
Reader reader;
|
||||
SimpleScanner scanner= new SimpleScanner();
|
||||
try {
|
||||
reader = new BufferedReader(
|
||||
new InputStreamReader(file.getContents(), file.getCharset()));
|
||||
reader = new BufferedReader(new InputStreamReader(file.getContents(), file.getCharset()));
|
||||
} catch (CoreException e) {
|
||||
return;
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
|
@ -354,7 +353,7 @@ public class TextSearchWrapper {
|
|||
} finally {
|
||||
try {
|
||||
reader.close();
|
||||
} catch (IOException e1) {
|
||||
} catch (IOException e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue