vdkoogh     2003/11/20 01:03:03

  Modified:    src/org/apache/xml/security/utils/resolver/implementations
                        ResolverDirectHTTP.java
  Log:
  Removed unused local fields:
  - contentLength
  - BufferentInputStream bufIn
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.10      +1 -4      
xml-security/src/org/apache/xml/security/utils/resolver/implementations/ResolverDirectHTTP.java
  
  Index: ResolverDirectHTTP.java
  ===================================================================
  RCS file: 
/home/cvs/xml-security/src/org/apache/xml/security/utils/resolver/implementations/ResolverDirectHTTP.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ResolverDirectHTTP.java   29 Apr 2003 21:36:57 -0000      1.9
  +++ ResolverDirectHTTP.java   20 Nov 2003 09:03:03 -0000      1.10
  @@ -61,7 +61,6 @@
   
   
   
  -import java.io.BufferedInputStream;
   import java.io.ByteArrayOutputStream;
   import java.io.IOException;
   import java.io.InputStream;
  @@ -240,9 +239,7 @@
            }
   
            String mimeType = urlConnection.getHeaderField("Content-Type");
  -         String contentLength = 
urlConnection.getHeaderField("Content-Length");
            InputStream inputStream = urlConnection.getInputStream();
  -         BufferedInputStream bufIn = new BufferedInputStream(inputStream);
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            byte buf[] = new byte[4096];
            int read = 0;
  
  
  

Reply via email to