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.)
Ran into a bug with null values in the
equals
functions inSchema.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.)