Skip to content

Commit

Permalink
#432 corrected todos
Browse files Browse the repository at this point in the history
  • Loading branch information
krzyk authored and krzyk committed Sep 11, 2015
1 parent e62ab72 commit ca9cd75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ public void test() {
/**
* Test method.
* @todo #123 First
* second
*/
public final void foreach() {
for (String txt : new String[] {"test"}) {
Expand All @@ -20,8 +19,7 @@ public final void foreach() {

/**
* Missing final in catch.
* @todo #123 First
* second
* @todo #123 Second
*/
public final void catchFinal() {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ assert log.text.contains('NewLines.java[4]: Lines in file should end with Unix-l
assert log.text.contains('newlines.txt[3]: Lines in file should end with Unix-like end of line')
assert log.text.contains('Violations.java[39]: ArrayList should be initialized with a size parameter')
assert log.text.contains('Violations.java[40]: ArrayList should be initialized with a size parameter')
assert log.text.findAll('Pdd.java.*: @todo tag has wrong format').empty
assert log.text.findAll('Pdd.java.*: [@]todo tag has wrong format').empty
assert !log.text.contains('Got an exception - java.lang.NullPointerException')
//assert !log.text.contains('SomeTest.java[5]: This method must be static, because it does not refer to "this"')
assert !log.text.contains('IndentationChecks.java[19]: method call rparen at indentation level 12')
assert !log.text.contains('IndentationChecks.java[19]: method call rparen at indentation level 12')

0 comments on commit ca9cd75

Please sign in to comment.