Skip to content

Commit

Permalink
fixed errors in SelectedScheduleInterface, added getters/setters to s…
Browse files Browse the repository at this point in the history
…essioninfo
  • Loading branch information
scheidm committed Mar 18, 2013
1 parent 358e8b9 commit d4a355c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
6 changes: 5 additions & 1 deletion branch/proto/ClassSelection.java
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,11 @@ private void populateTimes() {
}

private void setUserInfoText() {
String s = "Concentrations/Tracks:\n" + sessioninfo.getConcentrationString() + "\n\n";
String s = "Concentrations/Tracks:\n";
for (String x:sessioninfo.getConcentration()){
s+=x+"\n";
}
s+="\n\n";
if (!sessioninfo.getCoursework().get(Term.Fall).isEmpty()) {
String returnString = "";
for (Schedule schedule : sessioninfo.getCoursework().get(Term.Fall)) {
Expand Down
Empty file modified branch/proto/SchedulerPull.java
100644 → 100755
Empty file.
15 changes: 6 additions & 9 deletions branch/proto/SessionInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,6 @@ public void setConcentration( ArrayList<String> s){
this.concentration = s;
}

public String getConcentrationString() {
String returnString = "";
for (String s : concentration) {
returnString += s +", ";
}
return returnString.substring(0, returnString.length()-2);
}


// public SessionInfo(Integer mj, ArrayList<Integer> tracks,
// ArrayList<ArrayList<Schedule>> courses, ArrayList<Schedule> termClasses,
Expand Down Expand Up @@ -122,7 +114,12 @@ public void setClasses(Term term, ArrayList<Schedule> classes)

}

/**
public ArrayList<String> getConcentration() {
return concentration;
}


/**
* The <code>addClass</code> function adds a class section to the provided
* term.
* </br>
Expand Down
Empty file modified branch/proto/mysqlDBExecute.java
100644 → 100755
Empty file.
Empty file modified branch/proto/mysqlStatement.java
100644 → 100755
Empty file.
Empty file modified branch/proto/runner.java
100644 → 100755
Empty file.

0 comments on commit d4a355c

Please sign in to comment.