tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/xml XmlMapper.java
Date Wed, 26 Apr 2000 20:26:28 GMT
craigmcc    00/04/26 13:26:28

  Modified:    src/share/org/apache/tomcat/util/xml XmlMapper.java
  Log:
  Remove a deprecation warning when compiling XmlWrapper.
  PR: 295
  Submitted by:	author@philhanna.com
  
  Revision  Changes    Path
  1.15      +2 -1      jakarta-tomcat/src/share/org/apache/tomcat/util/xml/XmlMapper.java
  
  Index: XmlMapper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/xml/XmlMapper.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- XmlMapper.java	2000/04/25 19:01:08	1.14
  +++ XmlMapper.java	2000/04/26 20:26:27	1.15
  @@ -380,7 +380,8 @@
   	// We need to return a valid IS - or the default will be used,
   	// and that means reading from net.
   	InputSource is=new InputSource();
  -	is.setByteStream( new StringBufferInputStream(""));
  +	//	is.setByteStream( new StringBufferInputStream(""));
  +	is.setByteStream(new ByteArrayInputStream(new byte[0]));
   	return is;
       }
   
  
  
  

Mime
View raw message