<commit_before>/*
 * Copyright 2011 the original author or authors.
 *
 * 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
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * 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 org.springframework.social.google.api.legacyprofile;

import java.io.Serializable;

import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonProperty;

/**
 * Model class representing a legacy Google profile (predates Google+).
 * @author <NAME>
 */
public class LegacyGoogleProfile implements Serializable {

	private static final long serialVersionUID = 1L;

	private final String id;
	private final String email;
	private final String name;
	private final String firstName;
	private final String lastName;
	private final String link;
	private final String profilePictureUrl;
	private final String gender;
	private final String locale;

	@JsonCreator
	public LegacyGoogleProfile(@JsonProperty("id") String id,
			@JsonProperty("email") String email,
			@JsonProperty("name") String name,
			@JsonProperty("given_name") String firstName,
			@JsonProperty("family_name") String lastName,
			@JsonProperty("link") String link,
			@JsonProperty("picture") String profilePictureUrl,
			@JsonProperty("gender") String gender,
			@JsonProperty("locale") String locale) {
		this.id = id;
		this.email = email;
		this.name = name;
		this.firstName = firstName;
		this.lastName = lastName;
		this.link = link;
		this.profilePictureUrl = profilePictureUrl;
		this.gender = gender;
		this.locale = locale;
	}

	public String getId() {
		return id;
	}

	public String getEmail() {
		return email;
	}

	public String getName() {
		return name;
	}

	public String getFirstName() {
		return firstName;
	}

	public String getLastName() {
		return lastName;
	}
<commit_msg>Simplified LegacyGoogleProfile - removed final modifiers and constructor<commit_after>/*
 * Copyright 2011 the original author or authors.
 *
 * 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
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * 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 org.springframework.social.google.api.legacyprofile;

import java.io.Serializable;

/**
 * Model class representing a legacy Google profile (predates Google+).
 * @author <NAME>
 */
public class LegacyGoogleProfile implements Serializable {

	private static final long serialVersionUID = -634483399121748105L;
	
	private String id;
	private String email;
	private String name;
	private String firstName;
	private String lastName;
	private String link;
	private String profilePictureUrl;
	private String gender;
	private String locale;

	public String getId() {
		return id;
	}

	public String getEmail() {
		return email;
	}

	public String getName() {
		return name;
	}

	public String getFirstName() {
		return firstName;
	}

	public String getLastName() {
		return lastName;
	}

{'fraction_non_alphanumeric': 0.08250470303681806, 'fraction_numerical': 0.009406073636119323, 'mean_word_length': 4.2719546742209635, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5666206', 'n_tokens_mistral': 1089, 'n_tokens_neox': 1004, 'n_words': 394}