multipart-message nevyn bengtsson's blog

featured articles 🦄, about, archive, tags

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;
}

< Previous archaeology find | Next archaeology find >

Tagged software-archaeology