Skip to content
Permalink
Browse files

Step 6: Obtained Coverage

  • Loading branch information...
tlinkowski committed Jan 31, 2019
1 parent 6240a59 commit d7572baf5fe235ec35d219b156b2ec35fcc8182d
Showing with 8 additions and 4 deletions.
  1. +1 −3 IssueDetector.java
  2. +1 −1 IssueWiseText.java
  3. +6 −0 ProbabilisticIssueWiseText.java
@@ -1,6 +1,4 @@
import java.util.List;

interface IssueDetector {
// e.g. text: "You migth know it.", probabilityThreshold: 0.75
List<ProbableIssue> detect(String text, double probabilityThreshold);
ProbabilisticIssueWiseText detect(String text, double probabilityThreshold);
}
@@ -3,5 +3,5 @@
interface IssueWiseText {
String text(); // e.g. "You migth know it."

List<Issue> issues(); // e.g. ["migth"]
List<? extends Issue> issues(); // e.g. ["migth"]
}
@@ -0,0 +1,6 @@
import java.util.List;

interface ProbabilisticIssueWiseText extends IssueWiseText {
@Override
List<? extends ProbableIssue> issues();
}

0 comments on commit d7572ba

Please sign in to comment.
You can’t perform that action at this time.