_type = Type.SABIO_RK;
}
else {
- throw new IllegalArgumentException( "unknown GO xref type: " + type );
+ _type = Type.OTHER;
}
_xref = sa[ 1 ].trim();
}
/**
* Based on value and type.
- *
- *
+ *
+ *
*/
@Override
public boolean equals( final Object o ) {
case WIKIPEDIA:
sb.append( WIKIPEDIA_STR );
break;
+ case OTHER:
+ sb.append( "other" );
+ break;
default:
new AssertionError( "unknown type: " + getType() );
}