public void reset() {
    final PropertiesComponent propertiesComponent = PropertiesComponent.getInstance();
    final String history = propertiesComponent.getValue(myPropertyName);
    if (history != null) {
      final String[] items = history.split("\n");
      ArrayList<String> result = new ArrayList<>();
      for (String item : items) {
        if (item != null && !item.isEmpty()) {
          result.add(item);
        }
      }
      setHistory(result);
      setSelectedItem("");
    }
  }
public void reset()