<commit_before>package io.github.selchapp.api.model;

import javax.persistence.Column;
import javax.persistence.Embeddable;

import com.fasterxml.jackson.annotation.JsonIgnore;

@Embeddable
public class GPRSPosition {
	
	@Column(nullable=true)
	private double latitude;
	
	@Column(nullable=true)
	private double longitude;

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	
	@JsonIgnore
	public boolean isValid() {
		return latitude > 0 && longitude > 0;
	}
	
}
<commit_msg>Minor change in GPRSPosition validation.<commit_after>package io.github.selchapp.api.model;

import javax.persistence.Column;
import javax.persistence.Embeddable;

import com.fasterxml.jackson.annotation.JsonIgnore;

@Embeddable
public class GPRSPosition {
	
	@Column(nullable=true)
	private double latitude;
	
	@Column(nullable=true)
	private double longitude;

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	
	@JsonIgnore
	public boolean isValid() {
		return latitude != 0 && longitude != 0;
	}
	
}

{'fraction_non_alphanumeric': 0.09078681909885676, 'fraction_numerical': 0.0026899798251513113, 'mean_word_length': 3.5644171779141103, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4553649', 'n_tokens_mistral': 523, 'n_tokens_neox': 451, 'n_words': 106}