Show
Ignore:
Timestamp:
11/06/09 10:45:33 (3 years ago)
Author:
martijn
Message:

Made Picr and PicrRest? comply with basic unit tests

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/picr/src/org/bridgedb/webservice/picr/IDMapperPicrRest.java

    r241 r252  
    111111                                isOnlyActive = Boolean.parseBoolean(args.get("only-active")); 
    112112                        } 
    113                         return new IDMapperPicr(isOnlyActive); 
     113                        return new IDMapperPicrRest(isOnlyActive); 
    114114                } 
    115115        } 
     
    190190            // remove unsupported data sources 
    191191            Set<String> tgtDss = new HashSet<String>(); 
    192             if (tgtDataSources!=null) { 
     192            if (tgtDataSources.length > 0) { 
    193193                for (DataSource ds : tgtDataSources) { 
    194194                    if (supportedDatabases.contains(ds)) {