private void updateLastPattern() {
      String pattern = Strings.notNullize(mySearchField.getText());
      if (!pattern.equals(myLastPattern)) {
        myLastPattern = pattern;
        onSearchFieldUpdated(pattern);
      }
    }
private void updateLastPattern()