<commit_before>package net.sf.taverna.t2.activities.dataflow.servicedescriptions;

import javax.swing.Icon;
import javax.swing.ImageIcon;

import net.sf.taverna.t2.activities.dataflow.DataflowActivity;
import net.sf.taverna.t2.activities.dataflow.query.DataflowActivityItem;
import net.sf.taverna.t2.servicedescriptions.AbstractTemplateService;
import net.sf.taverna.t2.workflowmodel.Dataflow;
import net.sf.taverna.t2.workflowmodel.EditsRegistry;

public class DataflowTemplateService extends AbstractTemplateService<Dataflow>{
	
	private static final String A_CONFIGURABLE_NESTED_WORKFLOW = "A configurable nested workflow";
	private static final String DATAFLOW = "Nested workflow";

	@Override
	public Class<DataflowActivity> getActivityClass() {
		return DataflowActivity.class;
	}

	@Override
	public Dataflow getActivityConfiguration() {
		return EditsRegistry.getEdits().createDataflow();
	}

	@Override
	public Icon getIcon() {
		return new ImageIcon(DataflowActivityItem.class.getResource("/dataflow.png"));
	}

	public String getName() {
		return DATAFLOW;
	}
	
	public String getTextualDescription() {
		return A_CONFIGURABLE_NESTED_WORKFLOW;
	}

}<commit_msg>Altered description<commit_after>package net.sf.taverna.t2.activities.dataflow.servicedescriptions;

import javax.swing.Icon;
import javax.swing.ImageIcon;

import net.sf.taverna.t2.activities.dataflow.DataflowActivity;
import net.sf.taverna.t2.activities.dataflow.query.DataflowActivityItem;
import net.sf.taverna.t2.servicedescriptions.AbstractTemplateService;
import net.sf.taverna.t2.workflowmodel.Dataflow;
import net.sf.taverna.t2.workflowmodel.EditsRegistry;

public class DataflowTemplateService extends AbstractTemplateService<Dataflow>{
	
	private static final String A_CONFIGURABLE_NESTED_WORKFLOW = "A service that allows you to have one workflow nested within another";
	private static final String DATAFLOW = "Nested workflow";

	@Override
	public Class<DataflowActivity> getActivityClass() {
		return DataflowActivity.class;
	}

	@Override
	public Dataflow getActivityConfiguration() {
		return EditsRegistry.getEdits().createDataflow();
	}

	@Override
	public Icon getIcon() {
		return new ImageIcon(DataflowActivityItem.class.getResource("/dataflow.png"));
	}

	public String getName() {
		return DATAFLOW;
	}
	
	public String getDescription() {
		return A_CONFIGURABLE_NESTED_WORKFLOW;
	}

}
{'fraction_non_alphanumeric': 0.09071818563628728, 'fraction_numerical': 0.00503989920201596, 'mean_word_length': 6.218181818181818, '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': '6351495', 'n_tokens_mistral': 778, 'n_tokens_neox': 746, 'n_words': 141}