Skip to content

Commit

Permalink
Add types to implicit generics for JDK 7
Browse files Browse the repository at this point in the history
Using <> is causing the tests not to build, see
http://ci.bazel.io/job/Bazel/387/.

--
MOS_MIGRATED_REVID=116254679
  • Loading branch information
kchodorow committed Mar 3, 2016
1 parent 98482ae commit 05f0440
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ public void addStringResult() {
public static class CanonicalStringIndexerTest extends StringIndexerTest{
@Override
protected StringIndexer newIndexer() {
return new CanonicalStringIndexer(new ConcurrentHashMap<>(), new ConcurrentHashMap<>());
return new CanonicalStringIndexer(new ConcurrentHashMap<String, Integer>(),
new ConcurrentHashMap<Integer, String>());
}

@Test
Expand Down

0 comments on commit 05f0440

Please sign in to comment.