mirror of
https://github.com/google/nomulus
synced 2026-09-04 23:27:11 +00:00
Refactor Guava functional methods to use lambdas
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=177027488
This commit is contained in:
@@ -291,7 +291,7 @@ public class CidrAddressBlockTest extends TestCase {
|
||||
Iterator<InetAddress> i = b2.iterator();
|
||||
i.next();
|
||||
i.next();
|
||||
assertThrows(NoSuchElementException.class, () -> i.next());
|
||||
assertThrows(NoSuchElementException.class, i::next);
|
||||
}
|
||||
|
||||
public void testSerializability() {
|
||||
|
||||
Reference in New Issue
Block a user