/[classpath]/classpath/java/io/InputStreamReader.java
ViewVC logotype

Diff of /classpath/java/io/InputStreamReader.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mark, Tue Jan 22 22:26:59 2002 UTC revision 1.5 by mark, Fri Nov 8 13:56:05 2002 UTC
# Line 111  private Decoder in; Line 111  private Decoder in;
111  public  public
112  InputStreamReader(InputStream in)  InputStreamReader(InputStream in)
113  {  {
114      if (in == null)
115        throw new NullPointerException();
116    this.in = EncodingManager.getDecoder(in);    this.in = EncodingManager.getDecoder(in);
117  }  }
118    
# Line 131  public Line 133  public
133  InputStreamReader(InputStream in, String encoding_name) throws  InputStreamReader(InputStream in, String encoding_name) throws
134                                               UnsupportedEncodingException                                               UnsupportedEncodingException
135  {  {
136      if (in == null || encoding_name == null)
137        throw new NullPointerException();
138    this.in = EncodingManager.getDecoder(in, encoding_name);    this.in = EncodingManager.getDecoder(in, encoding_name);
139  }  }
140    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26