/** * If things want to prevent normalization because they are doing a set of * changes that should be normalized in one go, they should call * raiseNormalizeProtection() and when done call this. This also calls * normalize() if the count reaches zero. */ public void lowerNormalizeProtection() { skipNormalization--; if (skipNormalization == 0) { normalize(); } assert skipNormalization >= 0; }