void parseId()
{
+ if (name==null)
+ {
+ System.err.println("POSSIBLE IMPLEMENTATION ERROR: null sequence name passed to constructor.");
+ name = "";
+ }
// Does sequence have the /start-end signiature?
if (limitrx.search(name))
{
for(i=0; i<iSize; i++)
{
- if(dbrefs[i].equals(entry))
+ if(dbrefs[i].equalRef(entry))
{
+ if (entry.getMap()!=null)
+ {
+ if (dbrefs[i].getMap()==null)
+ {
+ // overwrite with 'superior' entry that contains a mapping.
+ dbrefs[i] = entry;
+ }
+ }
return;
}
}