Skip to content

Commit

Permalink
Cosmetic Calibration field typo refactoring to address issue 17
Browse files Browse the repository at this point in the history
  • Loading branch information
jamorham committed Nov 14, 2016
1 parent 264dd99 commit 6d170f2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import com.eveningoutpost.dexdrip.UtilityModels.CollectionServiceStarter;
import com.eveningoutpost.dexdrip.UtilityModels.Constants;
import com.eveningoutpost.dexdrip.UtilityModels.Notifications;
import com.eveningoutpost.dexdrip.utils.DexCollectionType;
import com.eveningoutpost.dexdrip.xdrip;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
Expand All @@ -47,7 +46,7 @@ class DexParameters extends SlopeParameters {
DEFAULT_LOW_SLOPE_HIGH = 1.15;
DEFAULT_SLOPE = 1;
DEFAULT_HIGH_SLOPE_HIGH = 1.3;
DEFAUL_HIGH_SLOPE_LOW = 1.2;
DEFAULT_HIGH_SLOPE_LOW = 1.2;
}

}
Expand All @@ -67,7 +66,7 @@ class DexParametersAdrian extends SlopeParameters {
DEFAULT_LOW_SLOPE_HIGH = 0.70;
DEFAULT_SLOPE = 1;
DEFAULT_HIGH_SLOPE_HIGH = 1.3;
DEFAUL_HIGH_SLOPE_LOW = 1.2;
DEFAULT_HIGH_SLOPE_LOW = 1.2;
}

}
Expand All @@ -82,7 +81,7 @@ class LiParameters extends SlopeParameters {
DEFAULT_LOW_SLOPE_HIGH = 1;
DEFAULT_SLOPE = 1;
DEFAULT_HIGH_SLOPE_HIGH = 1;
DEFAUL_HIGH_SLOPE_LOW = 1;
DEFAULT_HIGH_SLOPE_LOW = 1;
}
}

Expand All @@ -96,7 +95,7 @@ class TestParameters extends SlopeParameters {
DEFAULT_LOW_SLOPE_HIGH = 0.95; //1.15
DEFAULT_SLOPE = 1;
DEFAULT_HIGH_SLOPE_HIGH = 1.3;
DEFAUL_HIGH_SLOPE_LOW = 1.2;
DEFAULT_HIGH_SLOPE_LOW = 1.2;
}
}

Expand Down Expand Up @@ -1114,7 +1113,7 @@ abstract class SlopeParameters {
protected double DEFAULT_LOW_SLOPE_HIGH;
protected int DEFAULT_SLOPE;
protected double DEFAULT_HIGH_SLOPE_HIGH;
protected double DEFAUL_HIGH_SLOPE_LOW;
protected double DEFAULT_HIGH_SLOPE_LOW;

public double getLowSlope1() {
return LOW_SLOPE_1;
Expand Down Expand Up @@ -1149,6 +1148,6 @@ public double getDefaultHighSlopeHigh() {
}

public double getDefaulHighSlopeLow() {
return DEFAUL_HIGH_SLOPE_LOW;
return DEFAULT_HIGH_SLOPE_LOW;
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.eveningoutpost.dexdrip.Models;

import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.provider.BaseColumns;
Expand Down Expand Up @@ -46,7 +45,7 @@ class DexParameters extends SlopeParameters {
DEFAULT_LOW_SLOPE_HIGH = 1.15;
DEFAULT_SLOPE = 1;
DEFAULT_HIGH_SLOPE_HIGH = 1.3;
DEFAUL_HIGH_SLOPE_LOW = 1.2;
DEFAULT_HIGH_SLOPE_LOW = 1.2;
}

}
Expand All @@ -66,7 +65,7 @@ class DexParametersAdrian extends SlopeParameters {
DEFAULT_LOW_SLOPE_HIGH = 0.70;
DEFAULT_SLOPE = 1;
DEFAULT_HIGH_SLOPE_HIGH = 1.3;
DEFAUL_HIGH_SLOPE_LOW = 1.2;
DEFAULT_HIGH_SLOPE_LOW = 1.2;
}

}
Expand All @@ -81,7 +80,7 @@ class LiParameters extends SlopeParameters {
DEFAULT_LOW_SLOPE_HIGH = 1;
DEFAULT_SLOPE = 1;
DEFAULT_HIGH_SLOPE_HIGH = 1;
DEFAUL_HIGH_SLOPE_LOW = 1;
DEFAULT_HIGH_SLOPE_LOW = 1;
}
}

Expand All @@ -95,7 +94,7 @@ class TestParameters extends SlopeParameters {
DEFAULT_LOW_SLOPE_HIGH = 0.95; //1.15
DEFAULT_SLOPE = 1;
DEFAULT_HIGH_SLOPE_HIGH = 1.3;
DEFAUL_HIGH_SLOPE_LOW = 1.2;
DEFAULT_HIGH_SLOPE_LOW = 1.2;
}
}

Expand Down Expand Up @@ -1053,7 +1052,7 @@ abstract class SlopeParameters {
protected double DEFAULT_LOW_SLOPE_HIGH;
protected int DEFAULT_SLOPE;
protected double DEFAULT_HIGH_SLOPE_HIGH;
protected double DEFAUL_HIGH_SLOPE_LOW;
protected double DEFAULT_HIGH_SLOPE_LOW;

public double getLowSlope1() {
return LOW_SLOPE_1;
Expand Down Expand Up @@ -1088,6 +1087,6 @@ public double getDefaultHighSlopeHigh() {
}

public double getDefaulHighSlopeLow() {
return DEFAUL_HIGH_SLOPE_LOW;
return DEFAULT_HIGH_SLOPE_LOW;
}
}

0 comments on commit 6d170f2

Please sign in to comment.