<commit_before>/*
 * Copyright (c) 2014, 2015 Data4All
 * 
 * <p>Licensed under the Apache License, Version 2.0 (the "License"); you may
 * not use this file except in compliance with the License. You may obtain a
 * copy of the License at
 * 
 * <p>http://www.apache.org/licenses/LICENSE-2.0
 * 
 * <p>Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package io.github.data4all.util.oauth.parameters;

/**
 * @author tbrose
 *
 */
public final class StableOAuthParameters extends OAuthParameters {
    /**
     * The only instance of this class.
     */
    public static final OAuthParameters INSTANCE = new StableOAuthParameters();

    private StableOAuthParameters() {
    }

    /*
     * (non-Javadoc)
     * 
     * @see org.openstreetmap.josm.data.oauth.OAuthParameters#getConsumerKey()
     */
    @Override
    public String getConsumerKey() {
        return "<KEY>";
    }

    /*
     * (non-Javadoc)
     * 
     * @see
     * org.openstreetmap.josm.data.oauth.OAuthParameters#getConsumerSecret()
     */
    @Override
    public String getConsumerSecret() {
        return "<KEY>";
    }

    /*
     * (non-Javadoc)
     * 
     * @see
     * io.github.data4all.util.oauth.parameters.OAuthParameters#getScopeUrl()
     */
    @Override
    public String getScopeUrl() {
        return "http://www.openstreetmap.org";
    }

    /*
     * (non-Javadoc)
     * 
     * @see org.openstreetmap.josm.data.oauth.OAuthParameters#getUserLoginUrl()
     */
    @Override
    public String getUserLoginUrl() {
        return "https://www.openstreetmap.org/login";
    }

    /*
     * (non-Javadoc)
     * 
     * @see
     * org.openstreetmap.josm.data.oauth.OAuthParameters#getRequestTokenUrl()
     */
    @Override
    public String getRequestTokenUrl() {
        // "http://api06.dev.openstreetmap.org/oauth/request_token"
        return "http://www.openstreetmap.org/oauth/request_token";
    }

    /*
     * (non-Javadoc)
     * 
     * @see
     * org.openstreetmap.josm.data.oauth.OAuthParameters#getAccessTokenUrl()
     */
    @Override
    public String getAccessTokenUrl() {
        // "http://api06.dev.openstreetmap.org/oauth/access_token"
        return "http://www.openstreetmap.org/oauth/access_token";
    }

    /*
     * (non-Javadoc)
     * 
     * @see org.openstreetmap.josm.data.oauth.OAuthParameters#getAuthoriseUrl()
     */
    @Override
    public String getAuthoriseUrl() {
        // "http://api06.dev.openstreetmap.org/oauth/authorize"
        return "http://www.openstreetmap.org/oauth/authorize";
    }
}
<commit_msg>Fixed missing slash<commit_after>/*
 * Copyright (c) 2014, 2015 Data4All
 * 
 * <p>Licensed under the Apache License, Version 2.0 (the "License"); you may
 * not use this file except in compliance with the License. You may obtain a
 * copy of the License at
 * 
 * <p>http://www.apache.org/licenses/LICENSE-2.0
 * 
 * <p>Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package io.github.data4all.util.oauth.parameters;

/**
 * @author tbrose
 *
 */
public final class StableOAuthParameters extends OAuthParameters {
    /**
     * The only instance of this class.
     */
    public static final OAuthParameters INSTANCE = new StableOAuthParameters();

    private StableOAuthParameters() {
    }

    /*
     * (non-Javadoc)
     * 
     * @see org.openstreetmap.josm.data.oauth.OAuthParameters#getConsumerKey()
     */
    @Override
    public String getConsumerKey() {
        return "<KEY>";
    }

    /*
     * (non-Javadoc)
     * 
     * @see
     * org.openstreetmap.josm.data.oauth.OAuthParameters#getConsumerSecret()
     */
    @Override
    public String getConsumerSecret() {
        return "<KEY>";
    }

    /*
     * (non-Javadoc)
     * 
     * @see
     * io.github.data4all.util.oauth.parameters.OAuthParameters#getScopeUrl()
     */
    @Override
    public String getScopeUrl() {
        return "http://www.openstreetmap.org/";
    }

    /*
     * (non-Javadoc)
     * 
     * @see org.openstreetmap.josm.data.oauth.OAuthParameters#getUserLoginUrl()
     */
    @Override
    public String getUserLoginUrl() {
        return "https://www.openstreetmap.org/login";
    }

    /*
     * (non-Javadoc)
     * 
     * @see
     * org.openstreetmap.josm.data.oauth.OAuthParameters#getRequestTokenUrl()
     */
    @Override
    public String getRequestTokenUrl() {
        // "http://api06.dev.openstreetmap.org/oauth/request_token"
        return "http://www.openstreetmap.org/oauth/request_token";
    }

    /*
     * (non-Javadoc)
     * 
     * @see
     * org.openstreetmap.josm.data.oauth.OAuthParameters#getAccessTokenUrl()
     */
    @Override
    public String getAccessTokenUrl() {
        // "http://api06.dev.openstreetmap.org/oauth/access_token"
        return "http://www.openstreetmap.org/oauth/access_token";
    }

    /*
     * (non-Javadoc)
     * 
     * @see org.openstreetmap.josm.data.oauth.OAuthParameters#getAuthoriseUrl()
     */
    @Override
    public String getAuthoriseUrl() {
        // "http://api06.dev.openstreetmap.org/oauth/authorize"
        return "http://www.openstreetmap.org/oauth/authorize";
    }
}

{'fraction_non_alphanumeric': 0.12365496560239901, 'fraction_numerical': 0.007408714058916917, 'mean_word_length': 2.508663366336634, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 12, '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': '5531128', 'n_tokens_mistral': 1889, 'n_tokens_neox': 1781, 'n_words': 352}