Source:
<code>protected int calculateBestWidthSliderComposite() { int result = 0; final IntValueStyle valueRowHeader = (IntValueStyle) getTable().getNamedStyle(NattablestylePackage.eINSTANCE.getIntValueStyle(), NamedStyleConstants.ROW_HEADER_WIDTH); <START> if (valueRowHeader != null) { <END> result = valueRowHeader.getIntValue(); } else { final AbstractHeaderAxisConfiguration rowHeader = HeaderAxisConfigurationManagementUtils.getRowAbstractHeaderAxisConfigurationUsedInTable(getTable()); final IntValueStyle valueFirstRow = (IntValueStyle) rowHeader.getNamedStyle(NattablestylePackage.eINSTANCE.getIntValueStyle(), NamedStyleConstants.ROW_LABEL_WIDTH); if (valueFirstRow != null) { result += valueFirstRow.getIntValue(); } else { result += DefaultSizeUtils.getDefaultRowHeaderWidth(); } final IntValueStyle valueSecondRow = (IntValueStyle) rowHeader.getNamedStyle(NattablestylePackage.eINSTANCE.getIntValueStyle(), NamedStyleConstants.ROW_LABEL_POSITION_PREFIX_WIDTH + "2" + NamedStyleConstants.ROW_LABEL_POSITION_SUFFIX_WIDTH); if (valueSecondRow != null) { result += valueSecondRow.getIntValue(); } else { result += DefaultSizeUtils.getDefaultRowHeaderWidth(); } final IntValueStyle valueThirdRow = (IntValueStyle) rowHeader.getNamedStyle(NattablestylePackage.eINSTANCE.getIntValueStyle(), NamedStyleConstants.ROW_LABEL_POSITION_PREFIX_WIDTH + "3" + NamedStyleConstants.ROW_LABEL_POSITION_SUFFIX_WIDTH); if (valueThirdRow != null) { if (1 == valueThirdRow.getIntValue() % 2) { result += (valueThirdRow.getIntValue() / 2) + 1; } else { result += valueThirdRow.getIntValue() / 2; } } else { if (1 == DefaultSizeUtils.getDefaultRowHeaderWidth() % 2) { result += (DefaultSizeUtils.getDefaultRowHeaderWidth() / 2) + 1; } else { result += DefaultSizeUtils.getDefaultRowHeaderWidth() / 2; } } } return result; }</code><technical_language>invert condition</technical_language>

Target:
protected int calculateBestWidthSliderComposite() { int result = 0; final AbstractHeaderAxisConfiguration rowHeader = HeaderAxisConfigurationManagementUtils.getRowAbstractHeaderAxisConfigurationUsedInTable(getTable()); final IntValueStyle valueFirstRow = (IntValueStyle) rowHeader.getNamedStyle(NattablestylePackage.eINSTANCE.getIntValueStyle(), NamedStyleConstants.ROW_LABEL_WIDTH); if (null != valueFirstRow) { result += valueFirstRow.getIntValue(); } else { result += DefaultSizeUtils.getDefaultRowHeaderWidth(); } final IntValueStyle valueSecondRow = (IntValueStyle) rowHeader.getNamedStyle(NattablestylePackage.eINSTANCE.getIntValueStyle(), NamedStyleConstants.ROW_LABEL_POSITION_PREFIX_WIDTH + "2" + NamedStyleConstants.ROW_LABEL_POSITION_SUFFIX_WIDTH); if (null != valueSecondRow) { result += valueSecondRow.getIntValue(); } else { result += DefaultSizeUtils.getDefaultRowHeaderWidth(); } final IntValueStyle valueThirdRow = (IntValueStyle) rowHeader.getNamedStyle(NattablestylePackage.eINSTANCE.getIntValueStyle(), NamedStyleConstants.ROW_LABEL_POSITION_PREFIX_WIDTH + "3" + NamedStyleConstants.ROW_LABEL_POSITION_SUFFIX_WIDTH); if (null != valueThirdRow) { if (1 == valueThirdRow.getIntValue() % 2) { result += (valueThirdRow.getIntValue() / 2) + 1; } else { result += valueThirdRow.getIntValue() / 2; } } else { if (1 == DefaultSizeUtils.getDefaultRowHeaderWidth() % 2) { result += (DefaultSizeUtils.getDefaultRowHeaderWidth() / 2) + 1; } else { result += DefaultSizeUtils.getDefaultRowHeaderWidth() / 2; } } return result; }