private MimeMessage findMessage(String key){
  MimeMessage foundMessage;
  foundMessage=selectMessage(key);
  if (foundMessage == null) {
    mList=null;
    loadKeys();
    foundMessage=selectMessage(key);
  }
  return foundMessage;
}

private MimeMessage findMessage ( String key ) { MimeMessage foundMessage ; foundMessage = selectMessage ( key ) ; if ( foundMessage == null ) { mList = null ; loadKeys ( ) ; foundMessage = selectMessage ( key ) ; } return foundMessage ; }
find a given message < br > this method will first use selectmessage ( key ) to see if the key / offset combination allows us to skip parts of the file and only load the message we are interested in
