Ignore:
Timestamp:
2005-02-23T15:22:26+13:00 (19 years ago)
Author:
mdewsnip
Message:

Removed use of a deprecated class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/ExplodeMetadataPrompt.java

    r9153 r9160  
    3232import javax.swing.event.*;
    3333import javax.swing.text.*;
    34 import java.io.File;
    35 import java.io.StringBufferInputStream;
     34import java.io.*;
    3635import java.util.ArrayList;
    3736
     
    9998    // we have empty initial values
    10099    String dom_string = "<Options/>";
    101     Document doc = XMLTools.parseXML(new StringBufferInputStream(dom_string));
     100    Document doc = XMLTools.parseXML(new StringReader(dom_string));
    102101    options = new ScriptOptions(doc.getDocumentElement(), "explode_metadata_database.pl", false);
    103102   
Note: See TracChangeset for help on using the changeset viewer.