<commit_before>package org.activiti.rest.api.process;

import org.activiti.rest.util.ActivitiWebScript;
import org.springframework.extensions.webscripts.Cache;
import org.springframework.extensions.webscripts.Status;
import org.springframework.extensions.webscripts.WebScriptRequest;

import java.util.Map;

/**
 * Returns details about a process definition.
 *
 * @author <NAME>
 */
public class ProcessDefinitionGet extends ActivitiWebScript
{

  /**
   * Returns details about a process definition.
   *
   * @param req The webscripts request
   * @param status The webscripts status
   * @param cache The webscript cache
   * @param model The webscripts template model
   */
  @Override
  protected void executeWebScript(WebScriptRequest req, Status status, Cache cache, Map<String, Object> model)
  {
    String processDefinitionId = getMandatoryPathParameter(req, "processInstanceId");
    model.put("processDefinition", getRepositoryService().findProcessDefinitionById(processDefinitionId));
  }

}<commit_msg>changed processInstanceId back into processDefinitionId.  no clue how i managed to screw that one up in the first place<commit_after>package org.activiti.rest.api.process;

import org.activiti.rest.util.ActivitiWebScript;
import org.springframework.extensions.webscripts.Cache;
import org.springframework.extensions.webscripts.Status;
import org.springframework.extensions.webscripts.WebScriptRequest;

import java.util.Map;

/**
 * Returns details about a process definition.
 *
 * @author <NAME>
 */
public class ProcessDefinitionGet extends ActivitiWebScript
{

  /**
   * Returns details about a process definition.
   *
   * @param req The webscripts request
   * @param status The webscripts status
   * @param cache The webscript cache
   * @param model The webscripts template model
   */
  @Override
  protected void executeWebScript(WebScriptRequest req, Status status, Cache cache, Map<String, Object> model)
  {
    String processDefinitionId = getMandatoryPathParameter(req, "processDefinitionId");
    model.put("processDefinition", getRepositoryService().findProcessDefinitionById(processDefinitionId));
  }

}
{'fraction_non_alphanumeric': 0.08543417366946779, 'fraction_numerical': 0.0, 'mean_word_length': 5.105413105413105, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2774736', 'n_tokens_mistral': 559, 'n_tokens_neox': 555, 'n_words': 158}