google / google/error-prone

Forbid attempts to mock immutable collections, value types

Open
#108 0 comments 0 reactions 0 assignees View on GitHub
migrated Priority-Medium Type-NewCheck
Dominant language
Java
Stars
7.2k
Forks
820
Avg merge
5h 9m
Merged PRs (30d)
50

Description

_[Original issue](https://code.google.com/p/error-prone/issues/detail?id=108) created by **wasserman.louis** on 2013-03-05 at 08:34 PM_

---

Immutable collections, and value types more generally, should not be mocked.

The Guava folks have been encountering issues where inappropriate attempts to mock immutable collections have blocked legitimate refactorings.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.