<commit_before>package com.ait.toolkit.sencha.touch.client.events.button;

import com.ait.toolkit.sencha.shared.client.core.EventObject;
import com.ait.toolkit.sencha.touch.client.ui.Button;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.event.dom.client.DomEvent.Type;

public class TapEvent extends EventObject {

	public static String EVENT_NAME = "release";

	private Button source;

	/**
	 * UiBinder implementations
	 */
	private static Type<ReleaseHandler> TYPE = new Type<ReleaseHandler>(EVENT_NAME, null);

	public static Type<ReleaseHandler> getType() {
		return TYPE;
	}

	public static Type<ReleaseHandler> getAssociatedType() {
		return TYPE;
	}

	public TapEvent(JavaScriptObject jsObj) {
		super(jsObj);
	}

	public TapEvent(Button source, JavaScriptObject nativeEvent) {
		super(nativeEvent);
		this.source = source;

	}

	/**
	 * @return the source
	 */
	public Button getSource() {
		return source;
	}<commit_msg>fixes bug in TapEvent<commit_after>package com.ait.toolkit.sencha.touch.client.events.button;

import com.ait.toolkit.sencha.shared.client.core.EventObject;
import com.ait.toolkit.sencha.touch.client.ui.Button;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.event.dom.client.DomEvent.Type;

public class TapEvent extends EventObject {

	public static String EVENT_NAME = "release";

	private Button source;

	/**
	 * UiBinder implementations
	 */
	private static Type<TapHandler> TYPE = new Type<TapHandler>(EVENT_NAME, null);

	public static Type<TapHandler> getType() {
		return TYPE;
	}

	public static Type<TapHandler> getAssociatedType() {
		return TYPE;
	}

	public TapEvent(JavaScriptObject jsObj) {
		super(jsObj);
	}

	public TapEvent(Button source, JavaScriptObject nativeEvent) {
		super(nativeEvent);
		this.source = source;

	}

	/**
	 * @return the source
	 */
	public Button getSource() {
		return source;
	}
{'fraction_non_alphanumeric': 0.1111111111111111, 'fraction_numerical': 0.0, 'mean_word_length': 4.64792899408284, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '5566354', 'n_tokens_mistral': 649, 'n_tokens_neox': 596, 'n_words': 131}