src/org/ohmage/domain/campaign/prompt/RemoteActivityPrompt.java
private boolean validateInput(final String input) {
		if(input.length() > MAX_INPUT_LENGTH) {
			return false;
		}
		
		return true;
	}
/**
	 * As input to the remote Activity, there really is no way to validate the
	 * type of input that may be passed. Therefore, we will simply check for a
	 * reasonable length of less than {@link #MAX_INPUT_LENGTH} characters.
	 * 
	 * @param input The value of the 'input' property.
	 * 
	 * @return True if the value is valid; false, otherwise.
	 */
As input to the remote Activity, there really is no way to validate the
type of input that may be passed. Therefore, we will simply check for a
reasonable length of less than  #MAX_INPUT_LENGTH characters.

@param input The value of the 'input' property.

@return True if the value is valid; false, otherwise.
As input to the remote Activity there really is no way to validate the type of input that may be passed . Therefore we will simply check for a reasonable length of less than #MAX_INPUT_LENGTH characters . @param input The value of the ' input ' property . @return True if the value is valid ; false otherwise .
private boolean validateInput(final String input) {
		if(input.length() > MAX_INPUT_LENGTH) {
			return false;
		}
		return true;
	}
private boolean validateInput ( final String input ) { if ( input . length ( ) > MAX_INPUT_LENGTH ) { return false ; } return true ; }
As input to the remote Activity, there really is no way to validate the
 type of input that may be passed.
As input to the remote Activity there really is no way to validate the type of input that may be passed .