Use generics to fix warnings Signed-off-by: Gregor Zurowski <gre...@zurowski.org>
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/e29267f5 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/e29267f5 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/e29267f5 Branch: refs/heads/master Commit: e29267f565c2490e52e26c2e484cc1048122b59e Parents: fa20f22 Author: Gregor Zurowski <gre...@zurowski.org> Authored: Sat Mar 7 17:37:41 2015 -0500 Committer: Gregor Zurowski <gre...@zurowski.org> Committed: Sat Mar 7 17:37:41 2015 -0500 ---------------------------------------------------------------------- .../org/apache/camel/component/solr/SolrComponentTestSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/e29267f5/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrComponentTestSupport.java ---------------------------------------------------------------------- diff --git a/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrComponentTestSupport.java b/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrComponentTestSupport.java index b0b4355..d2daa2b 100644 --- a/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrComponentTestSupport.java +++ b/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrComponentTestSupport.java @@ -49,7 +49,7 @@ public abstract class SolrComponentTestSupport extends SolrTestSupport { solrInsertTestEntry(TEST_ID); } - protected static Collection secureOrNot() { + protected static Collection<Object[]> secureOrNot() { return Arrays.asList(new Object[][] {{true}, {false}}); }