<commit_before>package org.helioviewer.swhv.metadata;

import java.util.Date;

import org.helioviewer.viewmodel.view.jp2view.JHVJPXView;

public class SWHVMetadata implements Comparable {
    private final Date date;
    private final double hgltobs;
    private final double hglnobs;
    private final JHVJPXView view;
    private final int frameNumber;
    private final double solarRadiusPixels;
    private final double solarRadiusoffsetXPixels;
    private final double solarRadiusoffsetYPixels;
    private final double widthPixels;
    private final double heightPixels;
    private final double widthSolarUnits;
    private final double heightSolarUnits;

    public SWHVMetadata(Date date, double hgltobs, double hglnobs, double crpix1, double crpix2, double cdelt1, double cdelt2, JHVJPXView view, int frameNumber) {
        super();
        this.date = date;
        this.hgltobs = hgltobs;
        this.hglnobs = hglnobs;
        this.view = view;
        this.frameNumber = frameNumber;
        this.solarRadiusoffsetXPixels = 0;
        this.solarRadiusoffsetYPixels = 0;
        this.solarRadiusPixels = 0.;
        this.widthPixels = 0.;
        this.heightPixels = 0.;
        this.widthSolarUnits = 0.;
        this.heightSolarUnits = 0.;
    }

    public Date getDate() {
        return date;
    }

    public double getHgltobs() {
        return hgltobs;
    }

    public double getHglnobs() {
        return hglnobs;
    }

    public JHVJPXView getView() {
        return view;
    }

    public int getFrameNumber() {
        return frameNumber;
    }

    @Override
    public String toString() {
        return date.toString();
    }

    @Override
    public int compareTo(Object o) {
        return this.getDate().compareTo(((SWHVMetadata) o).getDate());
    }

    public double getSolarRadiusPixels() {
        return solarRadiusPixels;
    }

    public double getSolarRadiusoffsetXPixels() {
        return solarRadiusoffsetXPixels;
    }

    public double getSolarRadiusoffsetYPixels() {
        return solarRadiusoffsetYPixels;
    }
}<commit_msg>client: SWHVMetadata - fix compiler warning<commit_after>package org.helioviewer.swhv.metadata;

import java.util.Date;

import org.helioviewer.viewmodel.view.jp2view.JHVJPXView;

public class SWHVMetadata implements Comparable<SWHVMetadata> {
    private final Date date;
    private final double hgltobs;
    private final double hglnobs;
    private final JHVJPXView view;
    private final int frameNumber;
    private final double solarRadiusPixels;
    private final double solarRadiusoffsetXPixels;
    private final double solarRadiusoffsetYPixels;
    private final double widthPixels;
    private final double heightPixels;
    private final double widthSolarUnits;
    private final double heightSolarUnits;

    public SWHVMetadata(Date date, double hgltobs, double hglnobs, double crpix1, double crpix2, double cdelt1, double cdelt2, JHVJPXView view, int frameNumber) {
        super();
        this.date = date;
        this.hgltobs = hgltobs;
        this.hglnobs = hglnobs;
        this.view = view;
        this.frameNumber = frameNumber;
        this.solarRadiusoffsetXPixels = 0;
        this.solarRadiusoffsetYPixels = 0;
        this.solarRadiusPixels = 0.;
        this.widthPixels = 0.;
        this.heightPixels = 0.;
        this.widthSolarUnits = 0.;
        this.heightSolarUnits = 0.;
    }

    public Date getDate() {
        return date;
    }

    public double getHgltobs() {
        return hgltobs;
    }

    public double getHglnobs() {
        return hglnobs;
    }

    public JHVJPXView getView() {
        return view;
    }

    public int getFrameNumber() {
        return frameNumber;
    }

    @Override
    public String toString() {
        return date.toString();
    }

    @Override
    public int compareTo(SWHVMetadata o) {
        return this.getDate().compareTo(o.getDate());
    }

    public double getSolarRadiusPixels() {
        return solarRadiusPixels;
    }

    public double getSolarRadiusoffsetXPixels() {
        return solarRadiusoffsetXPixels;
    }

    public double getSolarRadiusoffsetYPixels() {
        return solarRadiusoffsetYPixels;
    }
}
{'fraction_non_alphanumeric': 0.07331587717210188, 'fraction_numerical': 0.0057129254939300165, 'mean_word_length': 2.698943661971831, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '7059713', 'n_tokens_mistral': 1306, 'n_tokens_neox': 1276, 'n_words': 317}