Legend:
- Unmodified
- Added
- Removed
-
trunk/org.bridgedb.rdb/src/org/bridgedb/rdb/GdbProvider.java
r504 r506 74 74 } 75 75 76 public IDMapperStack getGdbs(Organism organism) { 76 /** @deprecated use getStack(organism) instead */ 77 public List<IDMapper> getGdbs(Organism organism) 78 { 79 return getStack(organism).getMappers(); 80 } 81 82 public IDMapperStack getStack(Organism organism) { 77 83 IDMapperStack gdbs = organism2gdb.get(organism); 78 84 if(gdbs == null) { … … 94 100 { 95 101 this.transitive = transitive; 102 } 103 104 public static GdbProvider fromConfigFile(File f) throws IDMapperException, IOException, ClassNotFoundException 105 { 106 return fromConfigFile(f, false); 96 107 } 97 108 -
trunk/org.bridgedb.server/src/org/bridgedb/server/IDMapperResource.java
r504 r506 77 77 throw new IllegalArgumentException("Unknown organism: " + orgName + "<p><font size='+1'><i>Double check the spelling. We are expecting an entry like: Human</i></font></p>"); 78 78 } 79 mappers = getGdbProvider().get Gdbs(org);79 mappers = getGdbProvider().getStack(org); 80 80 if (mappers.getSize() == 0) 81 81 { -
trunk/org.bridgedb/src/org/bridgedb/IDMapperStack.java
r473 r506 558 558 return result; 559 559 } 560 561 /** get all mappers */ 562 public List<IDMapper> getMappers() 563 { 564 return gdbs; 565 } 560 566 }
