Changeset 12300


Ignore:
Timestamp:
2006-07-25T13:45:23+12:00 (18 years ago)
Author:
kjdon
Message:

removed some unused variables

Location:
trunk/gli/src/org/greenstone/gatherer
Files:
7 edited

Legend:

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

    r12252 r12300  
    9595    JPanel content_pane = (JPanel) getContentPane();
    9696
    97     JPanel header_pane = new JPanel();
    9897    JLabel header = new JLabel(Dictionary.get("CDM.ArgumentConfiguration.Header", data.getName()));
    9998    header.setHorizontalAlignment(JLabel.CENTER);
  • trunk/gli/src/org/greenstone/gatherer/cdm/IndexManager.java

    r12167 r12300  
    589589        index_list.setSelectedIndex(i);
    590590        // This will produce an event on the list, updating the other buttons
    591         if (size == 0) {
    592             // We have removed the last index, should be able to add what's filled in currently, if valid
    593             //   validateAddButton();
    594         }
    595591        }
    596592    }
     
    675671
    676672        JPanel details_pane = new JPanel();
    677         JPanel main_index_pane = new JPanel();
    678        
    679        
     673               
    680674        JLabel source_label = new JLabel(Dictionary.get("CDM.IndexManager.Source"));
    681675        source_list = new CheckList(false);
  • trunk/gli/src/org/greenstone/gatherer/cdm/LanguageManager.java

    r12281 r12300  
    307307        selected_languages_list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    308308        selected_languages_list.setVisibleRowCount(5);
    309         JPanel details_panel = new JPanel();
    310 
     309       
    311310        JPanel control_panel = new JPanel();
    312311        JLabel selector_label = new JLabel(Dictionary.get("CDM.LanguageManager.Selector"));
     
    462461        public void actionPerformed(ActionEvent event) {
    463462        if (!language_list.isNothingTicked()) {
    464             ArrayList langs = language_list.getTicked();
    465463            addLanguage(new Language(language_list.getTicked()));
    466464            clearControls();
  • trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java

    r12245 r12300  
    13441344    boolean first_name = true;
    13451345    boolean first_extra = true;
    1346     String collection_path = (base_cfg.getParentFile().getParentFile()).getAbsolutePath();
    1347 
     1346   
    13481347    // Now read in base_cfg line by line, parsing important onces and/or replacing them with information pertinent to our collection. Each line is then written back out to the new collect.cfg file.
    13491348    try {
  • trunk/gli/src/org/greenstone/gatherer/collection/ScriptOptions.java

    r10726 r12300  
    124124    argument_list = values_element.getElementsByTagName(ARGUMENT);
    125125    for(int i = 0; i < argument_list.getLength(); i++) {
    126         String[] temp = new String[2];
    127126        Element argument = (Element) argument_list.item(i);
    128127        ArrayTools.add(arguments, argument.getAttribute(NAME));
  • trunk/gli/src/org/greenstone/gatherer/gems/GEMS.java

    r12115 r12300  
    14701470            //add sets to existingSetJComboBox
    14711471           
    1472             JLabel dummyl = new JLabel(Dictionary.get("GEMS.Add_Set.No_Inherit"));
    1473                        
    14741472        existingSetJComboBox.addItem(DO_NOT_INHERIT);
    14751473            existingSetJComboBox.setSelectedIndex(getSetsLen);
     
    16421640            boxes_pane.setLayout(new GridLayout(4,1));
    16431641
    1644             JLabel inheritJLabel = new JLabel(Dictionary.get("GEMS.inheritMetadataSet"));
    1645                    
    1646             File[] col_dir = new File(Configuration.gsdl_path + File.separator + "collect").listFiles();
     1642        File[] col_dir = new File(Configuration.gsdl_path + File.separator + "collect").listFiles();
    16471643           
    16481644            existingSetJComboBox.addItem("Default Metadata Sets                                                                                        #% " + getGLIMetadataDirectoryPath());
  • trunk/gli/src/org/greenstone/gatherer/gui/NewCollectionDetailsPrompt.java

    r12119 r12300  
    127127    title.setPreferredSize(COMPONENT_SIZE);
    128128    title.setToolTipText(Dictionary.get("CDM.General.Collection_Name_Tooltip"));
    129     JPanel name_pane = new JPanel();
    130129    JLabel name_label = new JLabel(Dictionary.get("NewCollectionPrompt.Collection_Name"));
    131130   
Note: See TracChangeset for help on using the changeset viewer.