<commit_before>package org.apache.commons.graph.model;

import org.apache.commons.graph.WeightedEdges;

public final class BaseWeightedEdge<W>
    implements WeightedEdges<BaseLabeledWeightedEdge<W>, W>
{

    public W getWeightForEdge( BaseLabeledWeightedEdge<W> edge )
    {
        return edge.getWeight();
    }

}
<commit_msg>updated after the Mapper rename<commit_after>package org.apache.commons.graph.model;

import org.apache.commons.graph.Mapper;

public final class BaseWeightedEdge<W>
    implements Mapper<BaseLabeledWeightedEdge<W>, W>
{

    public W map( BaseLabeledWeightedEdge<W> edge )
    {
        return edge.getWeight();
    }

}

{'fraction_non_alphanumeric': 0.09800918836140889, 'fraction_numerical': 0.0, 'mean_word_length': 4.232, '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': '533021', 'n_tokens_mistral': 213, 'n_tokens_neox': 211, 'n_words': 40}