From 31c5e671fe8499a8ef68f692f93b5093e44b0250 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Fri, 29 Apr 2016 22:05:38 -0700 Subject: Extra generic type information to aid certain javacs. In particular this is needed for the code to compile using the error prone analyzer. Bug: 27723540 Change-Id: Ibfcef50dec0291f51a4372e18da40e859ac3e2e1 --- library/src/org/hamcrest/Matchers.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'library/src/org/hamcrest') diff --git a/library/src/org/hamcrest/Matchers.java b/library/src/org/hamcrest/Matchers.java index b78864a..ce550b5 100644 --- a/library/src/org/hamcrest/Matchers.java +++ b/library/src/org/hamcrest/Matchers.java @@ -70,7 +70,7 @@ public class Matchers { * Evaluates to true only if ALL of the passed in matchers evaluate to true. */ public static org.hamcrest.Matcher allOf(org.hamcrest.Matcher... matchers) { - return org.hamcrest.core.AllOf.allOf(matchers); + return org.hamcrest.core.AllOf.allOf(matchers); } /** @@ -84,7 +84,7 @@ public class Matchers { * Evaluates to true if ANY of the passed in matchers evaluate to true. */ public static org.hamcrest.Matcher anyOf(org.hamcrest.Matcher... matchers) { - return org.hamcrest.core.AnyOf.anyOf(matchers); + return org.hamcrest.core.AnyOf.anyOf(matchers); } /** @@ -175,11 +175,11 @@ public class Matchers { } public static org.hamcrest.Matcher> hasItem(org.hamcrest.Matcher elementMatcher) { - return org.hamcrest.collection.IsCollectionContaining.hasItem(elementMatcher); + return org.hamcrest.collection.IsCollectionContaining.hasItem(elementMatcher); } public static org.hamcrest.Matcher> hasItems(org.hamcrest.Matcher... elementMatchers) { - return org.hamcrest.collection.IsCollectionContaining.hasItems(elementMatchers); + return org.hamcrest.collection.IsCollectionContaining.hasItems(elementMatchers); } public static org.hamcrest.Matcher> hasItems(T... elements) { -- cgit v1.2.3