Skip to content
This repository was archived by the owner on May 18, 2022. It is now read-only.

Design Splitwise app#8

Open
arpit728 wants to merge 3 commits intoworkattech:masterfrom
arpit728:master
Open

Design Splitwise app#8
arpit728 wants to merge 3 commits intoworkattech:masterfrom
arpit728:master

Conversation

@arpit728
Copy link
Copy Markdown

No description provided.


@Override
public Transaction split(String inputLine) {
String split[] = inputLine.split("PERCENT");
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should have parsed input format outside the core design. You could have parsed and created an expense object and passed it inside the split method.

@gcnit
Copy link
Copy Markdown
Collaborator

gcnit commented Oct 4, 2019

@arpit728 sorry for the delay! Was busy at work.

Code looks pretty good!

Gave a few comments. Please check.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants