Software Archaeology Find #2: Enterprise-y
int role = Constants.DOCTOR;
switch (res.getInt(2)) {
    case Constants.DOCTOR:
        role = Constants.DOCTOR;
        break;
    case Constants.NURSE:
        role = Constants.NURSE;
        break;
    case Constants.ASSISTANT_NURSE:
        role = Constants.ASSISTANT_NURSE;
        break;
}
switch (res.getInt(2)) {
    case Constants.DOCTOR:
        role = Constants.DOCTOR;
        break;
    case Constants.NURSE:
        role = Constants.NURSE;
        break;
    case Constants.ASSISTANT_NURSE:
        role = Constants.ASSISTANT_NURSE;
        break;
}