Skip to content

Commit

Permalink
Improve spelling.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Sep 18, 2024
1 parent 7c7e533 commit 4453542
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/edu/hm/hafner/coverage/Node.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public String getId() {
return getName();
}

void setName(final String name) { // Might be used during the deserialization of old reports
void setName(final String name) { // Should only be used during the deserialization of old reports
this.name = name;
}

Check warning on line 85 in src/main/java/edu/hm/hafner/coverage/Node.java

View workflow job for this annotation

GitHub Actions / Quality Monitor

Not covered lines

Lines 84-85 are not covered by tests

Expand Down
5 changes: 3 additions & 2 deletions src/main/java/edu/hm/hafner/coverage/Value.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
import edu.umd.cs.findbugs.annotations.CheckReturnValue;

/**
* A leaf in the tree. A leaf is a non-divisible coverage metric like line, instruction or branch coverage or mutation
* or complexity.
* A leaf in the tree. A leaf is a non-divisible coverage metric like line, instruction, branch, or mutation coverage
* or a metric like loc or complexity.
*
* @author Ullrich Hafner
*/
public abstract class Value implements Serializable {
private static final long serialVersionUID = -1062406664372222691L;

private static final String METRIC_SEPARATOR = ":";

/**
Expand Down

0 comments on commit 4453542

Please sign in to comment.