diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2005-01-16 02:14:44 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2005-01-16 02:14:44 +0000 |
commit | 2522f3363d0ccbb714b010c6ce79eb698052cca3 (patch) | |
tree | f9753bfb14e4195fe8c928b76e7d5407375bddf2 /java/io/OutputStreamWriter.java | |
parent | 18addaa71c45fbdb60627f349e52027b3281e879 (diff) | |
download | classpath-2522f3363d0ccbb714b010c6ce79eb698052cca3.tar.gz |
2005-01-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
* Merge of November 2004 HEAD patches to generics branch
Diffstat (limited to 'java/io/OutputStreamWriter.java')
-rw-r--r-- | java/io/OutputStreamWriter.java | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/java/io/OutputStreamWriter.java b/java/io/OutputStreamWriter.java index 84a7d6acb..fbb048d1a 100644 --- a/java/io/OutputStreamWriter.java +++ b/java/io/OutputStreamWriter.java @@ -101,14 +101,6 @@ public class OutputStreamWriter extends Writer throws UnsupportedEncodingException { this.out = EncodingManager.getEncoder (out, encoding_scheme); - try - { - this.out.setBadCharValue('?'); - } - catch(CharConversionException x) - { - // what can we do here? - } } /** @@ -120,14 +112,6 @@ public class OutputStreamWriter extends Writer public OutputStreamWriter (OutputStream out) { this.out = EncodingManager.getEncoder (out); - try - { - this.out.setBadCharValue('?'); - } - catch(CharConversionException x) - { - // what can we do here? - } } /** @@ -199,7 +183,7 @@ public class OutputStreamWriter extends Writer /** * This method writes a single character to the output stream. * - * @param c The char to write, passed as an int. + * @param ch The char to write, passed as an int. * * @exception IOException If an error occurs */ |