Skip to content

Commit

Permalink
UAM TTS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RRothfeld committed Jan 29, 2020
1 parent 095f564 commit 3f62d71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public void run() {

trip.travelTime = trip.accessTime + trip.flightTime + trip.egressTime;
} catch (NullPointerException e) {
// Do nothing; failed trip will show as null in results.
e.printStackTrace();
}

try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public Set<String> getAvailableAccessModes() {

@StringSetter("availableAccessModes")
public void setAvailableAccessModes(final String availableAccessModes) {
String[] arr = availableAccessModes.split(",");
String[] arr = availableAccessModes.replaceAll("[\\[\\]]", "").split("[,; ]+");
this.availableAccessModes = new HashSet<>();
this.availableAccessModes.addAll(Arrays.asList(arr));
}
Expand Down

0 comments on commit 3f62d71

Please sign in to comment.