src/org/ohmage/domain/campaign/prompt/RemoteActivityPrompt.java
private boolean validateRetriesAndMinRuns(final int minRuns, final int retries) {
		if(minRuns > (retries + 1)) {
			return false;
		}
		
		return true;
	}
/**
	 * Validates that the minimum number of runs is less than or equal to the
	 * maximum number of times that a user can actually execute the remote
	 * Activity.
	 * 
	 * @param minRuns The minimum number of runs.
	 * 
	 * @param retries the minimum number of retries.
	 * 
	 * @return True if the values are valid; false, otherwise.
	 */
Validates that the minimum number of runs is less than or equal to the
maximum number of times that a user can actually execute the remote
Activity.

@param minRuns The minimum number of runs.

@param retries the minimum number of retries.

@return True if the values are valid; false, otherwise.
Validates that the minimum number of runs is less than or equal to the maximum number of times that a user can actually execute the remote Activity . @param minRuns The minimum number of runs . @param retries the minimum number of retries . @return True if the values are valid ; false otherwise .
private boolean validateRetriesAndMinRuns(final int minRuns, final int retries) {
		if(minRuns > (retries + 1)) {
			return false;
		}
		return true;
	}
private boolean validateRetriesAndMinRuns ( final int minRuns , final int retries ) { if ( minRuns > ( retries + 1 ) ) { return false ; } return true ; }
Validates that the minimum number of runs is less than or equal to the
 maximum number of times that a user can actually execute the remote
 Activity.
Validates that the minimum number of runs is less than or equal to the maximum number of times that a user can actually execute the remote Activity .