<commit_before>package com.meltmedia.cadmium.jgroups;

import java.io.File;
import java.util.Map;

public class DummyCoordinatedWorker implements CoordinatedWorker, ContentService, SiteDownService {
  private boolean pulling = false;

  @Override
  public void beginPullUpdates(Map<String, String> properties) {
    pulling = true;
  }
  
  private boolean switched = false;

  @Override
  public void switchContent(File newDir) {
    switched = true;
    listener.doneSwitching();
  }
  
  private boolean killed = false;

  @Override
  public void killUpdate() {
    killed = true;
  }

  @Override
  public void setListener(CoordinatedWorkerListener listener) {
    
  }

  public boolean isPulling() {
    return pulling;
  }

  public void setPulling(boolean pulling) {
    this.pulling = pulling;
  }

  public boolean isSwitched() {
    return switched;
  }

  public void setSwitched(boolean switched) {
    this.switched = switched;
  }

  public boolean isKilled() {
    return killed;
  }

  public void setKilled(boolean killed) {
    this.killed = killed;
  }

  private boolean siteDown = false;
  
  @Override
  public void takeSiteDown() {
    siteDown = true;
  }

  @Override
  public void bringSiteUp() {
    siteDown = false;
  }
  
  public boolean isSiteDown() {
    return siteDown;
  }

  private ContentServiceListener listener;
  
  @Override
  public void setListener(ContentServiceListener listener) {
    this.listener = listener;
  }

}
<commit_msg>fixed broken stuff<commit_after>package com.meltmedia.cadmium.jgroups;

import java.util.Map;

public class DummyCoordinatedWorker implements CoordinatedWorker, ContentService, SiteDownService {
  private boolean pulling = false;

  @Override
  public void beginPullUpdates(Map<String, String> properties) {
    pulling = true;
  }
  
  private boolean switched = false;

  @Override
  public void switchContent(String newDir) {
    switched = true;
    listener.doneSwitching();
  }
  
  private boolean killed = false;

  @Override
  public void killUpdate() {
    killed = true;
  }

  @Override
  public void setListener(CoordinatedWorkerListener listener) {
    
  }

  public boolean isPulling() {
    return pulling;
  }

  public void setPulling(boolean pulling) {
    this.pulling = pulling;
  }

  public boolean isSwitched() {
    return switched;
  }

  public void setSwitched(boolean switched) {
    this.switched = switched;
  }

  public boolean isKilled() {
    return killed;
  }

  public void setKilled(boolean killed) {
    this.killed = killed;
  }

  private boolean siteDown = false;
  
  @Override
  public void takeSiteDown() {
    siteDown = true;
  }

  @Override
  public void bringSiteUp() {
    siteDown = false;
  }
  
  public boolean isSiteDown() {
    return siteDown;
  }

  private ContentServiceListener listener;
  
  @Override
  public void setListener(ContentServiceListener listener) {
    this.listener = listener;
  }

}

{'fraction_non_alphanumeric': 0.08186141304347826, 'fraction_numerical': 0.0, 'mean_word_length': 3.2992700729927007, 'pattern_counts': {'":': 0, '<': 5, '<?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': '682446', 'n_tokens_mistral': 905, 'n_tokens_neox': 874, 'n_words': 232}