<commit_before>package edu.nyu.cs.javagit.api.commands;

import edu.nyu.cs.javagit.api.Ref;
import edu.nyu.cs.javagit.utilities.CheckUtilities;

/**
 * A class to manage passing commit arguments to the <code>GitReset</code> command.
 * <code>GitReset</code> resets the HEAD of the current checked out branch to the state of a
 * previous commit. <br>
 * <br>
 * 
 * Default values:
 * <ul>
 * <li> resetType - <code>ResetType.MIXED</code></li>
 * <li> commitName - <code>CommitName.HEAD</code></li>
 * <li> quiet - false</li>
 * </ul>
 * 
 * TODO (jhl388): implement toString(), equals() and hashcode().
 */
public class GitResetOptions {

  /**
   * An enumeration of the types of resets that can be performed.
   * 
   * <ul>
   * <li> MIXED - resets the checked out branch and the index but not the working tree</li>
   * <li> SOFT - resets only the checked out branch</li>
   * <li> HARD - resets the checked out branch, the index and the working tree</li>
   * </ul>
   */
  public static enum ResetType {
    MIXED("mixed"), SOFT("soft"), HARD("hard");

    private String cliOpt;

    private ResetType(String cliOpt) {
      this.cliOpt = cliOpt;
    }

    public String toString() {
      return "--" + cliOpt;
    }<commit_msg>Fixing a javadoc comment and removing a todo that was already completed.<commit_after>package edu.nyu.cs.javagit.api.commands;

import edu.nyu.cs.javagit.api.Ref;
import edu.nyu.cs.javagit.utilities.CheckUtilities;

/**
 * A class to manage passing arguments to the <code>GitReset</code> command.
 * <code>GitReset</code> resets the HEAD of the current checked out branch to the state of a
 * previous commit. <br>
 * <br>
 * 
 * Default values:
 * <ul>
 * <li> resetType - <code>ResetType.MIXED</code></li>
 * <li> commitName - <code>CommitName.HEAD</code></li>
 * <li> quiet - false</li>
 * </ul>
 */
public class GitResetOptions {

  /**
   * An enumeration of the types of resets that can be performed.
   * 
   * <ul>
   * <li> MIXED - resets the checked out branch and the index but not the working tree</li>
   * <li> SOFT - resets only the checked out branch</li>
   * <li> HARD - resets the checked out branch, the index and the working tree</li>
   * </ul>
   */
  public static enum ResetType {
    MIXED("mixed"), SOFT("soft"), HARD("hard");

    private String cliOpt;

    private ResetType(String cliOpt) {
      this.cliOpt = cliOpt;
    }

    public String toString() {
      return "--" + cliOpt;
    }
{'fraction_non_alphanumeric': 0.13664091093940625, 'fraction_numerical': 0.0012200081333875558, 'mean_word_length': 3.120603015075377, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6204802', 'n_tokens_mistral': 845, 'n_tokens_neox': 819, 'n_words': 259}