code: public static void setXMLMaxGeneralEntitySizeLimitIfLarger (final int nMaxGeneralEntitySizeLimit)
    {
      final int nOldValue = getXMLMaxGeneralEntitySizeLimit ();
      if (nOldValue > 0)
      {
        // Current value is limited
        if (nMaxGeneralEntitySizeLimit <= 0 || nMaxGeneralEntitySizeLimit > nOldValue)
        {
          // New value is unlimited or higher
          setXMLMaxGeneralEntitySizeLimit (nMaxGeneralEntitySizeLimit);
        }
      }
      // else -> cannot be increased
    }
docs: The same as {@link #setXMLMaxGeneralEntitySizeLimit(int)} but just that the
  value is only set, if the limit is increased!
  
  @param nMaxGeneralEntitySizeLimit
  A positive integer. Values &le; 0 are treated as no limit.
  @since 8.6.2
  @see #setXMLMaxGeneralEntitySizeLimit(int)