when you have comparisons with a string, always do them inverse: SYNC.equals(property). This way, safe if arg is null