Skip to content

Commit

Permalink
Update scr example
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1741129 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
cziegeler committed Apr 27, 2016
1 parent 15e184a commit 7ce86ec
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public String[] check( String passage )
if ( dictionary.checkWord( word ) )
{
correct = true;
break;
}
}

Expand All @@ -105,7 +106,7 @@ public String[] check( String passage )
}

// Return null if no words are incorrect.
if ( errorList.size() == 0 )
if ( errorList.isEmpty() )
{
return null;
}
Expand Down

0 comments on commit 7ce86ec

Please sign in to comment.