<commit_before># frozen_string_literal: true

class DependencyCollector
  def java_dep_if_needed(tags)
    req = JavaRequirement.new(tags)
    begin
      dep = Dependency.new("openjdk", tags)
      return dep if dep.installed?
      return req if req.satisfied?

      dep
    rescue FormulaUnavailableError
      req
    end
  end
end
<commit_msg>java_dep_if_needed: Install adoptopenjdk for Linux<commit_after># frozen_string_literal: true

class DependencyCollector
  def java_dep_if_needed(tags)
    req = JavaRequirement.new(tags)
    begin
      dep = Dependency.new("adoptopenjdk", tags)
      return dep if dep.installed?
      return req if req.satisfied?

      dep
    rescue FormulaUnavailableError
      req
    end
  end
end

{'fraction_non_alphanumeric': 0.060810810810810814, 'fraction_numerical': 0.0, 'mean_word_length': 3.1864406779661016, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4551736', 'n_tokens_mistral': 244, 'n_tokens_neox': 232, 'n_words': 60}