Skip to content

sieve: create and validate starter implementation - #684

Merged
stkent merged 3 commits into
exercism:masterfrom
Smarticles101:sieve-starter-implementation
Jul 4, 2017
Merged

stkent merged 3 commits into
exercism:masterfrom
Smarticles101:sieve-starter-implementation

Conversation

@Smarticles101

@Smarticles101 Smarticles101 commented Jul 4, 2017 •

Copy link
Copy Markdown
Member

Resolves #550


Reviewer Resources:

Track Policies

import java.util.List;

public class Sieve {
public Sieve(int maxPrime) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please indent with 4 spaces throughout :)

public List<Integer> getPrimes() {
throw new UnsupportedOperationException("Delete this statement and provide your own implementation.");
}
} No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Minor nitpick, but if you're using IntelliJ there's an option to have it automatically add trailing newlines to files on save to avoid these warnings.

@stkent
stkent merged commit 55d0fa1 into exercism:master Jul 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants