public static CommitEventType create(String text) {
    text = text.trim();
    for (CommitEventType value : CommitEventType.values()) {
      if (value.getText().equals(text)) return value;
    }
    return null;
  }
public static CommitEventType create(String text)