<commit_before>/*
 * This file is part of Politics.
 *
 * Copyright (c) 2012-2012, VolumetricPixels <http://volumetricpixels.com/>
 * Politics is licensed under the Affero General Public License Version 3.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.volumetricpixels.politics.event.group;

import com.volumetricpixels.politics.group.Group;
import com.volumetricpixels.politics.plot.Plot;
import org.spout.api.event.Cancellable;
import org.spout.api.event.HandlerList;

/**
 * Called when a property is set. Note that transforms, points, and blocks will
 * all be strings.
 */
public class GroupPropertySetEvent extends GroupEvent {
    private static final HandlerList handlers = new HandlerList();

    /**
     * The property that was set.
     */
    private final int property;

    /**
     * The value of the property.
     */
    private final Object value;

    /**
     * C'tor
     *
     * @param group
     * @param value The value
     */
    public GroupPropertySetEvent(Group group, int property, Object value) {
        super(group);
        this.property = property;
        this.value = value;
    }

    /**
     * Gets the property that will be set.
     *
     * @return
     */
    public int getProperty() {
        return property;
    }

    /**
     * Gets the value that the property will be set to.
     *
     * @return
     */
    public Object getValue() {
        return value;
    }

    @Override
    public HandlerList getHandlers() {
        return handlers;
    }

    /**
     * Gets the HandlerList of the event.
     *
     * @return
     */
    public static HandlerList getHandlerList() {
        return handlers;
    }
}
<commit_msg>Clean up some crap Signed-off-by: <NAME> <<EMAIL>><commit_after>/*
 * This file is part of Politics.
 *
 * Copyright (c) 2012-2012, VolumetricPixels <http://volumetricpixels.com/>
 * Politics is licensed under the Affero General Public License Version 3.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.volumetricpixels.politics.event.group;

import com.volumetricpixels.politics.group.Group;
import org.spout.api.event.HandlerList;

/**
 * Called when a property is set. Note that transforms, points, and blocks will
 * all be strings.
 */
public class GroupPropertySetEvent extends GroupEvent {
    private static final HandlerList handlers = new HandlerList();

    /**
     * The property that was set.
     */
    private final int property;

    /**
     * The value of the property.
     */
    private final Object value;

    /**
     * C'tor
     *
     * @param group
     * @param value The value
     */
    public GroupPropertySetEvent(Group group, int property, Object value) {
        super(group);
        this.property = property;
        this.value = value;
    }

    /**
     * Gets the property that will be set.
     *
     * @return
     */
    public int getProperty() {
        return property;
    }

    /**
     * Gets the value that the property will be set to.
     *
     * @return
     */
    public Object getValue() {
        return value;
    }

    @Override
    public HandlerList getHandlers() {
        return handlers;
    }

    /**
     * Gets the HandlerList of the event.
     *
     * @return
     */
    public static HandlerList getHandlerList() {
        return handlers;
    }
}

{'fraction_non_alphanumeric': 0.08527808069792803, 'fraction_numerical': 0.004362050163576881, 'mean_word_length': 2.5413127413127414, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 1, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5220907', 'n_tokens_mistral': 1289, 'n_tokens_neox': 1224, 'n_words': 498}