mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-23 00:33:09 +02:00
"static private" -> "private static"
This commit is contained in:
@@ -32,7 +32,7 @@ public class CsvHelper {
|
||||
csvProcessor.writeAll(writer, measurements, true);
|
||||
}
|
||||
|
||||
static private String[] getOldStyleHeaders(String sampleLine) {
|
||||
private static String[] getOldStyleHeaders(String sampleLine) {
|
||||
final String[] fields = sampleLine.split(",", -1);
|
||||
|
||||
// Return an array with header fields so that all the headers that actually are
|
||||
|
@@ -88,8 +88,8 @@ public class GraphFragment extends Fragment implements FragmentUpdateListener {
|
||||
private Calendar calYears;
|
||||
private Calendar calLastSelected;
|
||||
|
||||
static private String CAL_YEARS_KEY = "calYears";
|
||||
static private String CAL_LAST_SELECTED_KEY = "calLastSelected";
|
||||
private static String CAL_YEARS_KEY = "calYears";
|
||||
private static String CAL_LAST_SELECTED_KEY = "calLastSelected";
|
||||
|
||||
private List<ScaleMeasurement> pointIndexScaleMeasurementList;
|
||||
|
||||
|
@@ -82,7 +82,7 @@ public class TableFragment extends Fragment implements FragmentUpdateListener {
|
||||
private ArrayList <MeasurementView> measurementsList;
|
||||
|
||||
private int selectedSubpageNr;
|
||||
static private String SELECTED_SUBPAGE_NR_KEY = "selectedSubpageNr";
|
||||
private static String SELECTED_SUBPAGE_NR_KEY = "selectedSubpageNr";
|
||||
|
||||
public TableFragment() {
|
||||
|
||||
|
@@ -27,7 +27,7 @@ import com.health.openscale.core.datatypes.ScaleMeasurement;
|
||||
|
||||
public class CommentMeasurementView extends MeasurementView {
|
||||
private String comment;
|
||||
static private String COMMENT_KEY = "comment";
|
||||
private static String COMMENT_KEY = "comment";
|
||||
|
||||
public CommentMeasurementView(Context context) {
|
||||
super(context, context.getResources().getString(R.string.label_comment), ContextCompat.getDrawable(context, R.drawable.ic_comment));
|
||||
|
@@ -34,7 +34,7 @@ import java.util.Date;
|
||||
public class DateMeasurementView extends MeasurementView {
|
||||
private static DateFormat dateFormat = DateFormat.getDateInstance();
|
||||
private Date date;
|
||||
static private String DATE_KEY = "date";
|
||||
private static String DATE_KEY = "date";
|
||||
|
||||
public DateMeasurementView(Context context) {
|
||||
super(context, context.getResources().getString(R.string.label_date), ContextCompat.getDrawable(context, R.drawable.ic_lastmonth));
|
||||
|
@@ -34,7 +34,7 @@ import java.util.Date;
|
||||
public class TimeMeasurementView extends MeasurementView {
|
||||
private DateFormat timeFormat;
|
||||
private Date time;
|
||||
static private String TIME_KEY = "time";
|
||||
private static String TIME_KEY = "time";
|
||||
|
||||
public TimeMeasurementView(Context context) {
|
||||
super(context, context.getResources().getString(R.string.label_time), ContextCompat.getDrawable(context, R.drawable.ic_daysleft));
|
||||
|
Reference in New Issue
Block a user