-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List personloans #346
List personloans #346
Conversation
… into list-personloans
… into list-personloans
… into list-personloans
@@ -29,12 +30,28 @@ private Command processListStockType(String input) throws BadInputException { | |||
} | |||
|
|||
private Command processListPerson(String input) throws BadInputException { | |||
String[] inputArr = input.split(" +"); | |||
String[] inputArr = input.split(" "); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mm i've noticed that the predictive search (however raghav did it) prevents users from spamming spaces between their params anyway, so the multiple spaces regex has truly become obsolete
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep cool
edit: i realise i'm not quite sure of how to fix your merge conflict so i'm going to leave it in case i break something.
* 'master' of https://github.com/AY1920S1-CS2113T-F09-3/main: List all loans (AY1920S1-CS2113T-F09-3#347) List personloans (AY1920S1-CS2113T-F09-3#346) Loan add backend (AY1920S1-CS2113T-F09-3#345) Update help txt till v1.3.0 (AY1920S1-CS2113T-F09-3#343) Add command history and caret movement (AY1920S1-CS2113T-F09-3#286)
Adds function to list one person's loans