litesoft
Diff Revisions 911 vs 912 for /trunk/Java/core/Anywhere/src/org/litesoft/core/simpletypes/temporal/AbstractTemporal.java
@@ -18,7 +18,7 @@ | |||
18 | 18 | { | |
19 | 19 | return true; | |
20 | 20 | } | |
21 | - | if ( this.getClass().equals( them.getClass() ) ) | |
21 | + | if ( (them != null) && this.getClass().equals( them.getClass() ) ) | |
22 | 22 | { | |
23 | 23 | T zThem = Cast.it( them ); | |
24 | 24 | return LL_equalsNonNullStrict( zThem ); |