<commit_before>package org.smoothbuild.exec.job;

import static org.smoothbuild.util.collect.Lists.list;

import org.smoothbuild.db.object.obj.val.ValH;
import org.smoothbuild.db.object.type.base.TypeH;
import org.smoothbuild.exec.parallel.ParallelJobExecutor.Worker;
import org.smoothbuild.lang.base.define.Nal;
import org.smoothbuild.util.concurrent.Promise;
import org.smoothbuild.util.concurrent.PromisedValue;

/**
 * Subclasses of this class must be immutable.
 */
public class DummyJob extends AbstractJob {
  private final ValH val;

  public DummyJob(TypeH type, ValH val, Nal nal) {
    super(type, list(), nal);
    this.val = val;
  }

  @Override
  public Promise<ValH> schedule(Worker worker) {
    PromisedValue<ValH> result = new PromisedValue<>();
    result.accept(val);
    return result;
  }
}<commit_msg>removed misleading javadoc<commit_after>package org.smoothbuild.exec.job;

import static org.smoothbuild.util.collect.Lists.list;

import org.smoothbuild.db.object.obj.val.ValH;
import org.smoothbuild.db.object.type.base.TypeH;
import org.smoothbuild.exec.parallel.ParallelJobExecutor.Worker;
import org.smoothbuild.lang.base.define.Nal;
import org.smoothbuild.util.concurrent.Promise;
import org.smoothbuild.util.concurrent.PromisedValue;

public class DummyJob extends AbstractJob {
  private final ValH val;

  public DummyJob(TypeH type, ValH val, Nal nal) {
    super(type, list(), nal);
    this.val = val;
  }

  @Override
  public Promise<ValH> schedule(Worker worker) {
    PromisedValue<ValH> result = new PromisedValue<>();
    result.accept(val);
    return result;
  }
}
{'fraction_non_alphanumeric': 0.11380597014925373, 'fraction_numerical': 0.0, 'mean_word_length': 4.625874125874126, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4148612', 'n_tokens_mistral': 539, 'n_tokens_neox': 515, 'n_words': 109}