Hollis Waite

Results 5 issues of Hollis Waite

`com.google.common.collect.Lists.transform(List, Function).subList(int, int).clear()` is slow when removing a series of items from middle of decorated ArrayList. `java.util.List.clear()` method is intended to alleviate this problem but TransformedList fails to override. Furthermore,...

package=collect
type=performance
P3

Override removeRange(int,int) for Lists.TransformingSequentialList and Lists.TransformingRandomAccessList so that source list has opportunity to do more efficient deletions. Call fromList.subList(from, to).clear() instead of removing with iterator. Re-request of ignored #3372.

package=collect
type=performance
cla: yes
P4

### Short description If 'try-with-resources' block throws checked exception from within a lambda, the lambda must catch or rethrow. The SneakyThrows annotation neuters this requirement. IDEA reports code as valid...

### Short description `@RequiredArgsConstructor` annotation generates a constructor that accepts parameters for all non-initialized members. Lombok plugin mistakenly recognizes fields with `@Builder.Default` annotation as initialized. From lombok-generated constructor's perspective, the...