<commit_before>package com.orctom.gradle.archetype.util

class ConsoleUtils {

  static final String PS1 = "> ";

  public static String prompt(def message, def defaultValue = null) {
    def msg = "$PS1$message: " + (defaultValue ? "[$defaultValue]" : "")
    if (System.console()) {
      return System.console().readLine(msg) ?: String.valueOf(defaultValue)
    } else {
      Scanner scanner = new Scanner(System.in);
      print "$msg"
      return scanner.nextLine() ?: String.valueOf(defaultValue)
    }
  }
}<commit_msg>adding some empty lines and removing obsolete keyword in ConsoleUtils<commit_after>package com.orctom.gradle.archetype.util

class ConsoleUtils {

  static final String PS1 = "> ";

  static String prompt(def message, def defaultValue = null) {

    def msg = "$PS1$message: " + (defaultValue ? "[$defaultValue]" : "")

    if (System.console()) {
      return System.console().readLine(msg) ?: String.valueOf(defaultValue)
    } else {
      Scanner scanner = new Scanner(System.in);
      print "$msg"
      return scanner.nextLine() ?: String.valueOf(defaultValue)
    }
  }

}
{'fraction_non_alphanumeric': 0.13357400722021662, 'fraction_numerical': 0.0036101083032490976, 'mean_word_length': 3.5450819672131146, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3835841', 'n_tokens_mistral': 346, 'n_tokens_neox': 327, 'n_words': 80}