Skip to content

Commit

Permalink
[-] Remove suffix list and level map
Browse files Browse the repository at this point in the history
  • Loading branch information
hykilpikonna committed Oct 5, 2019
1 parent 8821d93 commit 794efdf
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/main/java/org/hydev/veracross/sdk/model/StJohnsCourse.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.HashMap;
import java.util.Map;

/**
* This data model class represents a course in St. John's.
* <p>
Expand All @@ -20,25 +17,6 @@
@Data
public class StJohnsCourse extends VeracrossCourse
{
private static final String[][] LEVEL_ENDING_ALIAS =
{
{"H", " h", " honors"},
{"A", " a", " acc", " accelerated"},
{"CP", " c", " college prep"}
};

private static final Map<String, Float> LEVEL_SCALE_MAP;

static
{
// Initialize level scale map
LEVEL_SCALE_MAP = new HashMap<>();
LEVEL_SCALE_MAP.put("AP", 1f);
LEVEL_SCALE_MAP.put("H", 0.75f);
LEVEL_SCALE_MAP.put("A", 0.5f);
LEVEL_SCALE_MAP.put("CP", 0.25f);
}

// Level of the course
private String level;

Expand Down

0 comments on commit 794efdf

Please sign in to comment.