protected String formatValue(long value) {
		String newValue = String.valueOf(value);

		if (minDigits > newValue.length()) {
			String leading = StringUtils.repeat("0",
					(minDigits - newValue.length()));
			newValue = leading + newValue;
		}

		return newValue;
	}
protected String formatValue ( long value ) { String newValue = String . valueOf ( value ) ; if ( minDigits > newValue . length ( ) ) { String leading = StringUtils . repeat ( "0" , ( minDigits - newValue . length ( ) ) ) ; newValue = leading + newValue ; } return newValue ; }
@param value
the value to format
@return the formatted value