Skip to content

Commit

Permalink
Adding more violations
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Taylor committed Jun 21, 2015
1 parent ddcbad8 commit 9da50b1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
11 changes: 11 additions & 0 deletions core/src/main/java/pro/jtaylor/timetracker/core/Tracker.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ public int size() {
}

public TimeEntry get(int index) {
try {

} catch (Exception e) {

}

boolean valid = false;
if (valid = true) {
// whatever
}

return entries.get(index);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,5 @@ public void testAdd() {
entry.setTime(3);
tracker.add(entry);
assertTrue(tracker.size() > 0);
try {

} catch (Exception e) {

}
}
}

0 comments on commit 9da50b1

Please sign in to comment.