Improved formatting

This commit is contained in:
Zeger Hendrikse 2017-01-29 22:14:49 +01:00
parent beae8eb58c
commit f319718a0f
1 changed files with 6 additions and 1 deletions

View File

@ -149,7 +149,12 @@ public class GuavaTableTest {
@Test
public void givenImmutableTable_whenGet_returnsSuccessfully() {
final Table<String, String, Integer> universityCourseSeatTable = ImmutableTable.<String, String, Integer> builder().put("Mumbai", "Chemical", 120).put("Mumbai", "IT", 60).put("Harvard", "Electrical", 60).put("Harvard", "IT", 120).build();
final Table<String, String, Integer> universityCourseSeatTable = ImmutableTable.<String, String, Integer> builder()
.put("Mumbai", "Chemical", 120)
.put("Mumbai", "IT", 60)
.put("Harvard", "Electrical", 60)
.put("Harvard", "IT", 120)
.build();
final int seatCount = universityCourseSeatTable.get("Mumbai", "IT");