private final short validateTempSplitFactor(String splitFactor,short permDurationInMinutes,short permSplitFactor) throws AdeFlowException {
  short tempSplitFactor=Short.parseShort(splitFactor);
  if (tempSplitFactor <= 0 || (permDurationInMinutes % tempSplitFactor != 0)) {
    throw new AdeFlowException("Temporary Split Factor cannot be negative or 0 and MUST be a factor of the " + "Permanent Split Duration : " + permDurationInMinutes);
  }
  return (short)(tempSplitFactor * permSplitFactor);
}

private final short validateTempSplitFactor ( String splitFactor , short permDurationInMinutes , short permSplitFactor ) throws AdeFlowException { short tempSplitFactor = Short . parseShort ( splitFactor ) ; if ( tempSplitFactor <= 0 || ( permDurationInMinutes % tempSplitFactor != 0 ) ) { throw new AdeFlowException ( "Temporary Split Factor cannot be negative or 0 and MUST be a factor of the " + "Permanent Split Duration : " + permDurationInMinutes ) ; } return ( short ) ( tempSplitFactor * permSplitFactor ) ; }
validation for the temporary split factor . the temporary split factor must be a positive short number and must be a factor of the duration of the output .
