mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-30 19:53:30 +02:00
Returned previous constructor to CodeReader. (thanks Andrew)
This commit is contained in:
parent
d242f51aa7
commit
b2840b064a
1 changed files with 6 additions and 0 deletions
|
@ -67,6 +67,12 @@ public class CodeReader {
|
|||
stream.close();
|
||||
}
|
||||
}
|
||||
|
||||
public CodeReader( String filename, InputStream stream ) throws IOException
|
||||
{
|
||||
this( filename, SYSTEM_DEFAULT_ENCODING, stream );
|
||||
}
|
||||
|
||||
public CodeReader( String fileName, String charSet, InputStream stream ) throws IOException {
|
||||
filename = fileName.toCharArray();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue