collection conversion work

This commit is contained in:
eugenp 2014-06-02 20:56:17 +02:00
parent 423d49fcd3
commit 8f7f048ed4
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ public class JavaCollectionConversionUnitTest {
} }
@Test @Test
public final void givenUsingCoreJava_whenMapValuesConvertedToS_thenCorrect() { public final void givenUsingCoreJava_whenMapValuesConvertedToSet_thenCorrect() {
final Map<Integer, String> sourceMap = createMap(); final Map<Integer, String> sourceMap = createMap();
final Set<String> targetSet = new HashSet<>(sourceMap.values()); final Set<String> targetSet = new HashSet<>(sourceMap.values());