src/org/ohmage/request/user/UserActivationRequest.java
@Override
	public void service() {
		LOGGER.info("Servicing a user activation request.");
		
		try {
			LOGGER.info("Verifying that the registration ID exists.");
			UserServices.instance().validateRegistrationId(registrationId);
			
			LOGGER.info("Activating the account.");
			UserServices.instance().activateUser(registrationId);
		}
		catch(ServiceException e) {
			e.failRequest(this);
			e.logException(LOGGER);
		}
	}
/**
	 * Validates that the registration ID exists, and, if so, activates the
	 * account.
	 */
Validates that the registration ID exists, and, if so, activates the
account.
Validates that the registration ID exists and if so activates the account .
@Override
	public void service() {
		LOGGER.info("Servicing a user activation request.");
		try {
			LOGGER.info("Verifying that the registration ID exists.");
			UserServices.instance().validateRegistrationId(registrationId);
			LOGGER.info("Activating the account.");
			UserServices.instance().activateUser(registrationId);
		}
		catch(ServiceException e) {
			e.failRequest(this);
			e.logException(LOGGER);
		}
	}
@ Override public void service ( ) { LOGGER . info ( "Servicing a user activation request." ) ; try { LOGGER . info ( "Verifying that the registration ID exists." ) ; UserServices . instance ( ) . validateRegistrationId ( registrationId ) ; LOGGER . info ( "Activating the account." ) ; UserServices . instance ( ) . activateUser ( registrationId ) ; } catch ( ServiceException e ) { e . failRequest ( this ) ; e . logException ( LOGGER ) ; } }
Validates that the registration ID exists, and, if so, activates the
 account.
Validates that the registration ID exists and if so activates the account .