cdd / bioassay-template

Other
7 stars 2 forks source link

Safety tweak #115

Closed aclarkxyz closed 5 years ago

aclarkxyz commented 5 years ago

Ran into a bug with null values in the equals functions in Schema.java. To reproduce: open a new template; rename the root to something else; add a new group... barfs with a null pointer error. Modified version: string comparisons done safely, in case of nulls. (The null case wasn't supposed to occur, but I think silent failure -> not equal is an adequate solution.)