Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 19, 2017
1 parent ac15434 commit 5386d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/2017/oct/2017-10-10-streams-vs-decorators.md
Expand Up @@ -49,7 +49,7 @@ start with the procedural way:
{% highlight java %}
int pos = 0;
for (Double probe : probes) {
if (probe != 0.0d && probe != 1.0d) {
if (probe == 0.0d || probe == 1.0d) {
continue;
}
if (++pos > 10) {
Expand Down

0 comments on commit 5386d08

Please sign in to comment.