You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within UCSBSearchCurriculum.java we removed all the old substring methods that were left over from our previous refactor. Then, following the suggestion of the software engineer from TheTradeDesk that we worked with, we refactored parseSection and parseLecture to just use JSOUP to parse the individual course row tags.
This allows us to limit our use of substring to very small, specific strings, making the parsing more reliable and safer.
The text was updated successfully, but these errors were encountered:
Within
UCSBSearchCurriculum.java
we removed all the old substring methods that were left over from our previous refactor. Then, following the suggestion of the software engineer from TheTradeDesk that we worked with, we refactoredparseSection
andparseLecture
to just use JSOUP to parse the individual course row tags.This allows us to limit our use of
substring
to very small, specific strings, making the parsing more reliable and safer.The text was updated successfully, but these errors were encountered: