Public feed #2108322

Unnamed

public text v1 · immutable
Raw Edit
·published 2012-01-31 22:26 UTC
rendered paste body
if(txtLongQueueSize.getText().length() == 0){
        	throw new NullInputException();
        }
        else if(txtNormalServeSpeed.getText().length() == 0){
        	throw new NullInputException();
        }
        else if(txtImprovedServeSpeed.getText().length() == 0){
        	throw new NullInputException();
        } else {
        tempStaffProfile.setLongQueueSize(Integer.parseInt(txtLongQueueSize.getText()));
        tempStaffProfile.setNormalServeSpeed(Float.parseFloat(txtNormalServeSpeed.getText()));
        tempStaffProfile.setImprovedServeSpeed(Float.parseFloat(txtImprovedServeSpeed.getText()));
        }