Ignore:
Timestamp:
2014-04-24T21:34:33+12:00 (10 years ago)
Author:
ak19
Message:

First commit for GLI part of GS2 to GS3 Format Conversion. Contains all the changes needed for the FormatConversionDialog to work, and some cosmetic changes to cdm.Format4gs3Manager.java. Still need to implement undo and redo and think about what needs to happen and how for Remote GS3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/cdm/Format4gs3Manager.java

    r26356 r28995  
    389389    }
    390390
    391     private String removeSurrondingTags(String xml)
     391    private String removeSurroundingTags(String xml)
    392392    {
    393393      return xml.replace("<ROOTELEMENT>\n", "").replace("<ROOTELEMENT>", "").replace("</ROOTELEMENT>", "").replace("<ROOTELEMENT/>","");
     
    732732                        StringBuffer sb = new StringBuffer();
    733733                        XMLTools.xmlNodeToString(sb, formatElem, true, "  ", 0);
    734                         editor_textarea.setText(removeSurrondingTags(sb.toString()));
     734                        editor_textarea.setText(removeSurroundingTags(sb.toString()));
    735735                    }
    736736                    else
     
    817817                            StringBuffer sb = new StringBuffer();
    818818                            XMLTools.xmlNodeToString(sb, formatElem, true, "  ", 0);
    819                             editor_textarea.setText(removeSurrondingTags(sb.toString()));
     819                            editor_textarea.setText(removeSurroundingTags(sb.toString()));
    820820                        }
    821821                        else
Note: See TracChangeset for help on using the changeset viewer.