<commit_before>package org.herac.tuxguitar.song.models;

public abstract class TGLyric {
  private static final String SPACE = " ";

  private int from = 1;
  private String lyrics = null;

  @Override
  public abstract TGLyric clone();

  public int getFrom() {
    return this.from;
  }

  public String[] getLyricBeats() {
    return this.lyrics.replaceAll("\n", SPACE).replaceAll("\r", SPACE).split(
        SPACE);
  }

  public String getLyrics() {
    return this.lyrics;
  }

  public void setFrom(int from) {
    this.from = from;
  }

  public void setLyrics(String lyrics) {
    this.lyrics = lyrics;
  }

}<commit_msg>fixed null pointer error that i introduced in the previous commit; made paramaters to methods final<commit_after>package org.herac.tuxguitar.song.models;

import joptsimple.internal.Strings;

public abstract class TGLyric {
  private static final String SPACE = " ";

  private int from = 1;
  private String lyrics = Strings.EMPTY;

  @Override
  public abstract TGLyric clone();

  public int getFrom() {
    return this.from;
  }

  public String[] getLyricBeats() {
    return this.lyrics.replaceAll("\n", SPACE).replaceAll("\r", SPACE).split(
        SPACE);
  }

  public String getLyrics() {
    return this.lyrics;
  }

  public void setFrom(final int from) {
    this.from = from;
  }

  public void setLyrics(final String lyrics) {
    this.lyrics = lyrics;
  }

}
{'fraction_non_alphanumeric': 0.10754985754985755, 'fraction_numerical': 0.0014245014245014246, 'mean_word_length': 3.257575757575758, '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': '5997952', 'n_tokens_mistral': 469, 'n_tokens_neox': 447, 'n_words': 127}