Changeset 26578


Ignore:
Timestamp:
12/13/12 10:25:50 (8 years ago)
Author:
sjm84
Message:

Removing a test that was causing a null pointer exception

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/CrossCollectionSearch.java

    r26577 r26578  
    298298            //metadata_message.appendChild(metadata_request);
    299299        }
     300
    300301        Element metadata_request = GSXML.createBasicRequest(this.doc, GSXML.REQUEST_TYPE_DESCRIBE, colls_sb.toString(), userContext);
    301302        metadata_message.appendChild(metadata_request);
     
    323324        }
    324325
    325         if (valid_colls.size() == 0)
    326         {
    327             return false;
    328         }
     326        this.coll_names_map = new HashMap<String, String[]>();
     327
    329328        // ids no all has the list without 'all' option.
    330329        this.coll_ids_list_no_all = new String[1];
     
    337336        this.coll_ids_list = valid_colls.toArray(coll_ids_list);
    338337
    339         this.coll_names_map = new HashMap<String, String[]>();
    340338        String[] coll_names_list = new String[1];
    341339        coll_names_list = valid_coll_names.toArray(coll_names_list);
Note: See TracChangeset for help on using the changeset viewer.