Skip to content
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

[W6.2b][T09-2]Tay Ran Tian #126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

[W6.2b][T09-2]Tay Ran Tian #126

wants to merge 1 commit into from

Conversation

arty9
Copy link

@arty9 arty9 commented Sep 19, 2018

W6.2b LO: added a polymorphic isMutating method

@@ -70,4 +70,6 @@ public int getTargetIndex() {
public void setTargetIndex(int targetIndex) {
this.targetIndex = targetIndex;
}

public abstract boolean isMutating();

Choose a reason for hiding this comment

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

This method should have a header comment. If not, users of the method as well as those who overrides method will not know how exactly the method behaves.

@nishantbudhdev
Copy link

@arty9
Please ensure that tests are updated accordingly as you make changes in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants