logger.debug("getNormalizedName, Original MDS: "+name);
if (logger.isDebugEnabled()) logger.debug("getNormalizedName, Original MDS: "+name);
  private String getNormalizedName (String name) {    StringBuffer mission = new StringBuffer();    StringBuffer design = new StringBuffer();    StringBuffer series = new StringBuffer();    logger.debug("getNormalizedName, Original MDS: "+name);    StringCharacterIterator sci = new StringCharacterIterator(name);    int state = 0;    //0 = mission    //1 = design    //2 = series    //Character Ch;    char ch;    while ((ch = sci.current()) != StringCharacterIterator.DONE) {      if (!Character.isLetterOrDigit(ch)) {        sci.next();        continue;      } // if      ch = Character.toUpperCase(ch);      if (state == 0) {        //looking for mission        if (Character.isLetter(ch)) {          mission.append(ch);          sci.next();        } else {          state = 1;        } // if      } else if (state == 1) { //looking for design        if (Character.isDigit(ch)) {          design.append(ch);          sci.next();        } else {          state = 2;        } // if      } else { //looking for series        series.append(ch);        sci.next();      }    } // while    //Converting design to Integer    while (design.length() < 3) {      design.insert(0, (int)0);    } // while    while (series.length() > 1) {      series.deleteCharAt(series.length()-1);    } // while    return (mission.toString()+design.toString()+series.toString());  } // getNormalizedName