From 9b994b0f8919581e19ce4a3654d4db34e0aa49fa Mon Sep 17 00:00:00 2001 From: Egor Bredikhin <32983915+Egor18@users.noreply.github.com> Date: Thu, 20 Jun 2019 13:44:46 -0400 Subject: [PATCH] doc: Fix typo in matcher documentation (#3027) --- doc/matcher.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/matcher.md b/doc/matcher.md index 9fd691bb09e..878e873a373 100644 --- a/doc/matcher.md +++ b/doc/matcher.md @@ -20,7 +20,7 @@ if (c.size() > 10) throw new IndexOutOfBoundsException(); --- //foo() returns a collection -if (foo() > 10) +if (foo().size() > 10) throw new IndexOutOfBoundsException(); ``` @@ -42,7 +42,6 @@ public class CheckBoundMatcher { public void matcher1() { if (_col_.S().size() > 10) throw new IndexOutOfBoundsException(); - } } }