/[classpath]/classpath/gnu/xml/transform/TransformerImpl.java
ViewVC logotype

Diff of /classpath/gnu/xml/transform/TransformerImpl.java

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

revision 1.1.2.3 by gnu_andrew, Tue Aug 2 20:12:14 2005 UTC revision 1.1.2.4 by gnu_andrew, Wed Nov 2 00:43:29 2005 UTC
# Line 1  Line 1 
1  /* TransformerImpl.java --  /* TransformerImpl.java --
2     Copyright (C) 2004 Free Software Foundation, Inc.     Copyright (C) 2004, 2005 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 505  class TransformerImpl Line 505  class TransformerImpl
505                {                {
506                  URL url = new URL(systemId);                  URL url = new URL(systemId);
507                  URLConnection connection = url.openConnection();                  URLConnection connection = url.openConnection();
508                    // We need to call setDoInput(false), because our
509                    // implementation of the file protocol allows writing
510                    // (unlike Sun), but it will fail with a FileNotFoundException
511                    // if we also open the connection for input and the output
512                    // file doesn't yet exist.
513                    connection.setDoInput(false);
514                  connection.setDoOutput(true);                  connection.setDoOutput(true);
515                  out = connection.getOutputStream();                  out = connection.getOutputStream();
516                }                }

Legend:
Removed from v.1.1.2.3  
changed lines
  Added in v.1.1.2.4

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