1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-30 03:30:30 +02:00

Remove unused getMinValue

This commit is contained in:
Erik Johansson
2017-11-22 22:45:10 +01:00
parent b344772dce
commit 5002f739c1
16 changed files with 0 additions and 76 deletions

View File

@@ -55,11 +55,6 @@ public class BMIMeasurementView extends MeasurementView {
return evalSheet.evaluateBMI(value); return evalSheet.evaluateBMI(value);
} }
@Override
public float getMinValue() {
return 10;
}
@Override @Override
public float getMaxValue() { public float getMaxValue() {
return 50; return 50;

View File

@@ -55,11 +55,6 @@ public class BMRMeasurementView extends MeasurementView {
return null; return null;
} }
@Override
public float getMinValue() {
return 0;
}
@Override @Override
public float getMaxValue() { public float getMaxValue() {
return 5000; return 5000;

View File

@@ -55,11 +55,6 @@ public class BoneMeasurementView extends MeasurementView {
return null; return null;
} }
@Override
public float getMinValue() {
return 0;
}
@Override @Override
public float getMaxValue() { public float getMaxValue() {
return 50; return 50;

View File

@@ -71,11 +71,6 @@ public class CommentMeasurementView extends MeasurementView {
return null; return null;
} }
@Override
public float getMinValue() {
return 0;
}
@Override @Override
public float getMaxValue() { public float getMaxValue() {
return 0; return 0;

View File

@@ -85,11 +85,6 @@ public class DateMeasurementView extends MeasurementView {
return null; return null;
} }
@Override
public float getMinValue() {
return 0;
}
@Override @Override
public float getMaxValue() { public float getMaxValue() {
return 0; return 0;

View File

@@ -70,11 +70,6 @@ public class FatMeasurementView extends MeasurementView {
return evalSheet.evaluateBodyFat(value); return evalSheet.evaluateBodyFat(value);
} }
@Override
public float getMinValue() {
return 10;
}
@Override @Override
public float getMaxValue() { public float getMaxValue() {
return 60; return 60;

View File

@@ -55,11 +55,6 @@ public class HipMeasurementView extends MeasurementView {
return null; return null;
} }
@Override
public float getMinValue() {
return 30;
}
@Override @Override
public float getMaxValue() { public float getMaxValue() {
return 200; return 200;

View File

@@ -70,11 +70,6 @@ public class LBWMeasurementView extends MeasurementView {
return null; return null;
} }
@Override
public float getMinValue() {
return 10;
}
@Override @Override
public float getMaxValue() { public float getMaxValue() {
return 300; return 300;

View File

@@ -205,7 +205,6 @@ public abstract class MeasurementView extends TableLayout {
public abstract void updatePreferences(SharedPreferences preferences); public abstract void updatePreferences(SharedPreferences preferences);
public abstract String getUnit(); public abstract String getUnit();
public abstract EvaluationResult evaluateSheet(EvaluationSheet evalSheet, float value); public abstract EvaluationResult evaluateSheet(EvaluationSheet evalSheet, float value);
public abstract float getMinValue();
public abstract float getMaxValue(); public abstract float getMaxValue();
public float getValue() { public float getValue() {

View File

@@ -60,11 +60,6 @@ public class MuscleMeasurementView extends MeasurementView {
return evalSheet.evaluateBodyMuscle(value); return evalSheet.evaluateBodyMuscle(value);
} }
@Override
public float getMinValue() {
return 10;
}
@Override @Override
public float getMaxValue() { public float getMaxValue() {
return 80; return 80;

View File

@@ -89,11 +89,6 @@ public class TimeMeasurementView extends MeasurementView {
return null; return null;
} }
@Override
public float getMinValue() {
return 0;
}
@Override @Override
public float getMaxValue() { public float getMaxValue() {
return 0; return 0;

View File

@@ -60,11 +60,6 @@ public class WHRMeasurementView extends MeasurementView {
return evalSheet.evaluateWHR(value); return evalSheet.evaluateWHR(value);
} }
@Override
public float getMinValue() {
return 0.5f;
}
@Override @Override
public float getMaxValue() { public float getMaxValue() {
return 1.5f; return 1.5f;

View File

@@ -60,11 +60,6 @@ public class WHtRMeasurementView extends MeasurementView {
return evalSheet.evaluateWHtR(value); return evalSheet.evaluateWHtR(value);
} }
@Override
public float getMinValue() {
return 0;
}
@Override @Override
public float getMaxValue() { public float getMaxValue() {
return 1; return 1;

View File

@@ -55,11 +55,6 @@ public class WaistMeasurementView extends MeasurementView {
return evalSheet.evaluateWaist(value); return evalSheet.evaluateWaist(value);
} }
@Override
public float getMinValue() {
return 30;
}
@Override @Override
public float getMaxValue() { public float getMaxValue() {
return 200; return 200;

View File

@@ -70,11 +70,6 @@ public class WaterMeasurementView extends MeasurementView {
return evalSheet.evaluateBodyWater(value); return evalSheet.evaluateBodyWater(value);
} }
@Override
public float getMinValue() {
return 30;
}
@Override @Override
public float getMaxValue() { public float getMaxValue() {
return 80; return 80;

View File

@@ -56,11 +56,6 @@ public class WeightMeasurementView extends MeasurementView {
return evalSheet.evaluateWeight(value); return evalSheet.evaluateWeight(value);
} }
@Override
public float getMinValue() {
return 30;
}
@Override @Override
public float getMaxValue() { public float getMaxValue() {
return 300; return 300;